Code Review
/
aaf
/
authz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Mass whitespace changes (Style Warnings)
[aaf/authz.git]
/
cadi
/
core
/
src
/
main
/
java
/
org
/
onap
/
aaf
/
cadi
/
util
/
JsonOutputStream.java
diff --git
a/cadi/core/src/main/java/org/onap/aaf/cadi/util/JsonOutputStream.java
b/cadi/core/src/main/java/org/onap/aaf/cadi/util/JsonOutputStream.java
index
7c3ac30
..
e790766
100644
(file)
--- a/
cadi/core/src/main/java/org/onap/aaf/cadi/util/JsonOutputStream.java
+++ b/
cadi/core/src/main/java/org/onap/aaf/cadi/util/JsonOutputStream.java
@@
-39,11
+39,11
@@
public class JsonOutputStream extends OutputStream {
@Override
public void write(int b) throws IOException {
@Override
public void write(int b) throws IOException {
- if(ret=='\n') {
+ if
(ret=='\n') {
ret = 0;
ret = 0;
- if(prev!=',' || (b!='{' && b!='[')) {
+ if
(prev!=',' || (b!='{' && b!='[')) {
os.write('\n');
os.write('\n');
- for(int i=0;i<indent;++i) {
+ for
(int i=0;i<indent;++i) {
os.write(TWO_SPACE);
}
}
os.write(TWO_SPACE);
}
}
@@
-58,7
+58,7
@@
public class JsonOutputStream extends OutputStream {
case ']':
--indent;
os.write('\n');
case ']':
--indent;
os.write('\n');
- for(int i=0;i<indent;++i) {
+ for
(int i=0;i<indent;++i) {
os.write(TWO_SPACE);
}
break;
os.write(TWO_SPACE);
}
break;
@@
-81,7
+81,7
@@
public class JsonOutputStream extends OutputStream {
@Override
public void close() throws IOException {
@Override
public void close() throws IOException {
- if(closeable) {
+ if
(closeable) {
os.close();
}
}
os.close();
}
}