From 9a3d6d33cb3fb6d58e922ac53e72a72682d55333 Mon Sep 17 00:00:00 2001 From: David Gageot Date: Tue, 17 Jul 2012 21:34:41 +0200 Subject: Fix Indentation violations --- .../src/main/java/org/sonar/colorizer/GroovyKeywords.java | 7 ++++--- .../src/main/java/org/sonar/colorizer/JavaKeywords.java | 15 ++++++++------- 2 files changed, 12 insertions(+), 10 deletions(-) (limited to 'sonar-colorizer/src/main') diff --git a/sonar-colorizer/src/main/java/org/sonar/colorizer/GroovyKeywords.java b/sonar-colorizer/src/main/java/org/sonar/colorizer/GroovyKeywords.java index d22f0c06a22..e12f8558dfd 100644 --- a/sonar-colorizer/src/main/java/org/sonar/colorizer/GroovyKeywords.java +++ b/sonar-colorizer/src/main/java/org/sonar/colorizer/GroovyKeywords.java @@ -27,9 +27,10 @@ public final class GroovyKeywords { private static final Set KEYWORDS = new HashSet(); - private static final String[] GROOVY_KEYWORDS = new String[]{"as", "assert", "break", "case", "catch", "class", "continue", "def", - "default", "do", "else", "extends", "finally", "for", "if", "in", "implements", "import", "instanceof", "interface", "new", "package", - "property", "return", "switch", "throw", "throws", "try", "while"}; + private static final String[] GROOVY_KEYWORDS = { + "as", "assert", "break", "case", "catch", "class", "continue", "def", + "default", "do", "else", "extends", "finally", "for", "if", "in", "implements", "import", "instanceof", "interface", "new", "package", + "property", "return", "switch", "throw", "throws", "try", "while"}; static { Collections.addAll(KEYWORDS, GROOVY_KEYWORDS); diff --git a/sonar-colorizer/src/main/java/org/sonar/colorizer/JavaKeywords.java b/sonar-colorizer/src/main/java/org/sonar/colorizer/JavaKeywords.java index a9f00b5f1cd..3057db57679 100644 --- a/sonar-colorizer/src/main/java/org/sonar/colorizer/JavaKeywords.java +++ b/sonar-colorizer/src/main/java/org/sonar/colorizer/JavaKeywords.java @@ -27,13 +27,14 @@ public final class JavaKeywords { private static final Set KEYWORDS = new HashSet(); - private static final String[] JAVA_KEYWORDS = new String[]{"abstract", "assert", "boolean", "break", "byte", "case", "catch", "char", - "class", "const", "continue", "default", - "do", "double", "else", "enum", "extends", "false", "final", "finally", "float", "for", - "goto", "if", "implements", "import", "instanceof", - "int", "interface", "long", "native", "new", "null", "package", "private", - "protected", "public", "return", "short", "static", "strictfp", - "super", "switch", "synchronized", "this", "throw", "throws", "transient", "true", "try", "void", "volatile", "while"}; + private static final String[] JAVA_KEYWORDS = { + "abstract", "assert", "boolean", "break", "byte", "case", "catch", "char", + "class", "const", "continue", "default", + "do", "double", "else", "enum", "extends", "false", "final", "finally", "float", "for", + "goto", "if", "implements", "import", "instanceof", + "int", "interface", "long", "native", "new", "null", "package", "private", + "protected", "public", "return", "short", "static", "strictfp", + "super", "switch", "synchronized", "this", "throw", "throws", "transient", "true", "try", "void", "volatile", "while"}; static { Collections.addAll(KEYWORDS, JAVA_KEYWORDS); -- cgit v1.2.3