aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-colorizer/src/main
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2012-07-17 21:34:41 +0200
committerDavid Gageot <david@gageot.net>2012-07-17 21:34:41 +0200
commit9a3d6d33cb3fb6d58e922ac53e72a72682d55333 (patch)
tree4608b0e289140370db374fa4f6d52c7ea144ff8e /sonar-colorizer/src/main
parentf7f2fb63589f6cba07339bd0ba56f638caa1dfab (diff)
downloadsonarqube-9a3d6d33cb3fb6d58e922ac53e72a72682d55333.tar.gz
sonarqube-9a3d6d33cb3fb6d58e922ac53e72a72682d55333.zip
Fix Indentation violations
Diffstat (limited to 'sonar-colorizer/src/main')
-rw-r--r--sonar-colorizer/src/main/java/org/sonar/colorizer/GroovyKeywords.java7
-rw-r--r--sonar-colorizer/src/main/java/org/sonar/colorizer/JavaKeywords.java15
2 files changed, 12 insertions, 10 deletions
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<String> KEYWORDS = new HashSet<String>();
- 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<String> KEYWORDS = new HashSet<String>();
- 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);