java String[] 初始化有这种写法?

  public static String[] getSetPermissionCommand(String perm, boolean recursive)
  {
    if (recursive) {
      return new String[] { "chmod", "-R", WINDOWS ? new String[] { WINUTILS, "chmod", "-R", perm } : perm };
    }
    
    return new String[] { "chmod", WINDOWS ? new String[] { WINUTILS, "chmod", perm } : perm };
  }

摘自hadoop-common-2.5.2.jar

用jd-gui-0.3.6 反编译的,没看过src

眼眸繁星
浏览 310回答 1
1回答

陪伴而非守候

String[] 里面放 String[]...反编译器抽风了?
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java