Skip to content

Commit 538932b

Browse files
committed
whitespace
1 parent dc85657 commit 538932b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tmc-plugin/src/fi/helsinki/cs/tmc/model/ConfigFile.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
import org.openide.filesystems.FileUtil;
1212

1313
public class ConfigFile {
14-
14+
1515
private final String name;
1616
private FileObject fileObject;
17-
17+
1818
public ConfigFile(String name) {
1919
this.name = name;
2020
}
21-
21+
2222
public FileObject getFileObject() throws IOException {
2323
if (fileObject == null) {
2424
FileObject root = FileUtil.getConfigRoot();
@@ -33,19 +33,19 @@ public FileObject getFileObject() throws IOException {
3333
}
3434
return fileObject;
3535
}
36-
36+
3737
public boolean exists() throws IOException {
3838
return getFileObject().getSize() > 0;
3939
}
4040

4141
public Writer getWriter() throws IOException {
4242
return new OutputStreamWriter(new BufferedOutputStream(getFileObject().getOutputStream()), "UTF-8");
4343
}
44-
44+
4545
public Reader getReader() throws IOException {
4646
return new InputStreamReader(new BufferedInputStream(getFileObject().getInputStream()), "UTF-8");
4747
}
48-
48+
4949
public void writeContents(String s) throws IOException {
5050
Writer w = getWriter();
5151
try {
@@ -54,7 +54,7 @@ public void writeContents(String s) throws IOException {
5454
w.close();
5555
}
5656
}
57-
57+
5858
public String readContents() throws IOException {
5959
return getFileObject().asText("UTF-8");
6060
}

0 commit comments

Comments
 (0)