问题
Apache 的 drill 执行启动命令 drill-embedded
报错: ERROR: Java1.7 or later is required to run Apache Drill.
通过 java -version 命令查看版本信息如下:
java version "1.8.0_144"
Java(TM) SE Runtim...
1,switch中可以使用字串
Java代码:
String s = "test";
switch (s) {
case "test" :
System.out.println("test");
case "test1" :
System.out.println("test1");
break ;
...
AuthenticationTokenExtensions
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNetCore.Authentication
{
/...