prettier-plugin-java
Advanced tools
Comparing version 0.8.1 to 0.8.2
{ | ||
"name": "prettier-plugin-java", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"description": "Prettier Java Plugin", | ||
@@ -9,3 +9,3 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"java-parser": "^0.8.1", | ||
"java-parser": "0.8.2", | ||
"lodash": "4.17.20", | ||
@@ -23,4 +23,3 @@ "prettier": "2.1.1" | ||
"clone-samples": "node scripts/clone-samples.js" | ||
}, | ||
"gitHead": "59a70396d425b970bb736114bfcb112658156f8c" | ||
} | ||
} |
@@ -77,3 +77,2 @@ "use strict"; | ||
{ value: "unannPrimitiveType" }, | ||
{ value: "unannPrimitiveTypeWithOptionalDimsSuffix" }, | ||
{ value: "unannReferenceType" }, | ||
@@ -80,0 +79,0 @@ { value: "unannClassOrInterfaceType" }, |
@@ -303,6 +303,6 @@ "use strict"; | ||
unannType(ctx) { | ||
return this.visitSingle(ctx); | ||
} | ||
if (ctx.unannReferenceType !== undefined) { | ||
return this.visit(ctx.unannReferenceType); | ||
} | ||
unannPrimitiveTypeWithOptionalDimsSuffix(ctx) { | ||
const unannPrimitiveType = this.visit(ctx.unannPrimitiveType); | ||
@@ -309,0 +309,0 @@ const dims = this.visit(ctx.dims); |
@@ -365,3 +365,3 @@ "use strict"; | ||
primaryPrefix(ctx, params) { | ||
if (ctx.This || ctx.Void) { | ||
if (ctx.This || ctx.Void || ctx.Boolean) { | ||
return printTokenWithComments(this.getSingle(ctx)); | ||
@@ -368,0 +368,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
130577
22
4020
Updatedjava-parser@0.8.2