summaryrefslogtreecommitdiffstats
path: root/misc/xgen/src/main/java/org
diff options
context:
space:
mode:
authorTomek Kaminski <tomasz.kaminski@nokia.com>2018-08-29 12:43:12 +0200
committerTomek Kaminski <tomasz.kaminski@nokia.com>2018-08-29 12:56:53 +0200
commit9c564da36cb047362363ad1075deae5a5eb3b695 (patch)
tree17df761b97dd31acf75041420cdc621419da8f59 /misc/xgen/src/main/java/org
parent45ca42c48030171a5dcf180bb35fb767ae5c2b78 (diff)
fix critical sonar
-https://sonar.onap.org/project/issues?id=org.onap.aaf.authz%3Aparent&open=AWK69ZDYwGn37JfbmFHU&resolved=false&severities=CRITICAL&types=VULNERABILITY -added @Override to methods -little code style refactor -move to google style code (tabs->spaces) Change-Id: I914a5869d906c770425488f820b6e0066b5c58a4 Issue-ID: AAF-458 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
Diffstat (limited to 'misc/xgen/src/main/java/org')
-rw-r--r--misc/xgen/src/main/java/org/onap/aaf/misc/xgen/XGen.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/xgen/src/main/java/org/onap/aaf/misc/xgen/XGen.java b/misc/xgen/src/main/java/org/onap/aaf/misc/xgen/XGen.java
index 632e7a85..10176259 100644
--- a/misc/xgen/src/main/java/org/onap/aaf/misc/xgen/XGen.java
+++ b/misc/xgen/src/main/java/org/onap/aaf/misc/xgen/XGen.java
@@ -112,7 +112,7 @@ public class XGen<RT extends XGen<RT>> {
if(pretty) {
if(mark!=null && mark.comment!=null) {
- int fi = forward.getIndent()*IndentPrintWriter.INDENT;
+ int fi = forward.getIndent()*IndentPrintWriter.INDENT_MULTIPLIER;
for(int i = fi+backSB.length();i<=COMMENT_COLUMN;++i) {
back.append(' ');
}