aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-duplications/src/main/java
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-05-29 22:02:23 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-05-29 22:02:23 +0200
commit371ab065edbef2e92b502878eec9a73d310af54b (patch)
tree4e85b007f2cc55c7bb2f124f771bd7cb530b2fd6 /sonar-duplications/src/main/java
parentf06fb0fad22f4f64dbe95d5ad5e413dd0fb4869e (diff)
downloadsonarqube-371ab065edbef2e92b502878eec9a73d310af54b.tar.gz
sonarqube-371ab065edbef2e92b502878eec9a73d310af54b.zip
Fix some quality flaws
Diffstat (limited to 'sonar-duplications/src/main/java')
-rw-r--r--sonar-duplications/src/main/java/net/sourceforge/pmd/cpd/SourceCode.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-duplications/src/main/java/net/sourceforge/pmd/cpd/SourceCode.java b/sonar-duplications/src/main/java/net/sourceforge/pmd/cpd/SourceCode.java
index ff05e226da8..d44eef24e5a 100644
--- a/sonar-duplications/src/main/java/net/sourceforge/pmd/cpd/SourceCode.java
+++ b/sonar-duplications/src/main/java/net/sourceforge/pmd/cpd/SourceCode.java
@@ -99,7 +99,7 @@ public class SourceCode {
public static class StringCodeLoader extends CodeLoader {
public static final String DEFAULT_NAME = "CODE_LOADED_FROM_STRING";
- private String source_code;
+ private String sourceCode;
private String name;
@@ -108,13 +108,13 @@ public class SourceCode {
}
public StringCodeLoader(String code, String name) {
- this.source_code = code;
+ this.sourceCode = code;
this.name = name;
}
@Override
public Reader getReader() {
- return new StringReader(source_code);
+ return new StringReader(sourceCode);
}
@Override