summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-24 23:11:47 +0000
committerPaul Buetow <paul@buetow.org>2008-05-24 23:11:47 +0000
commitbc4135bf1e842c2c4b0f62bbe7b2ce5434ab4e3f (patch)
tree0357140267583d2702631327d90f6cfa04dad1b3 /sources
parentc4ad328e63067bc290c52a92c602220007729a9c (diff)
run astyle.
Diffstat (limited to 'sources')
-rw-r--r--sources/core/VSProcess.java4
-rw-r--r--sources/prefs/VSDefaultPrefs.java2
-rw-r--r--sources/prefs/VSPrefs.java12
3 files changed, 9 insertions, 9 deletions
diff --git a/sources/core/VSProcess.java b/sources/core/VSProcess.java
index f92898e..3773bd6 100644
--- a/sources/core/VSProcess.java
+++ b/sources/core/VSProcess.java
@@ -555,8 +555,8 @@ public class VSProcess extends VSPrefs {
VSProtocol protocol = null;
if (!objectExists(protocolClassname)) {
- protocol = (VSProtocol)
- VSRegisteredEvents.createEventInstanceByClassname(protocolClassname, this);
+ protocol = (VSProtocol)
+ VSRegisteredEvents.createEventInstanceByClassname(protocolClassname, this);
setObject(protocolClassname, protocol);
protocolsToReset.add(protocol);
diff --git a/sources/prefs/VSDefaultPrefs.java b/sources/prefs/VSDefaultPrefs.java
index f8dbb2a..e2acd21 100644
--- a/sources/prefs/VSDefaultPrefs.java
+++ b/sources/prefs/VSDefaultPrefs.java
@@ -11,7 +11,7 @@ public class VSDefaultPrefs extends VSPrefs {
public static VSPrefs init(String fileName) {
VSPrefs prefs = new VSDefaultPrefs();
- prefs.fillWithDefaults();
+ prefs.fillWithDefaults();
return prefs;
}
diff --git a/sources/prefs/VSPrefs.java b/sources/prefs/VSPrefs.java
index 4ba0208..15241e0 100644
--- a/sources/prefs/VSPrefs.java
+++ b/sources/prefs/VSPrefs.java
@@ -438,8 +438,8 @@ public abstract class VSPrefs implements Serializable {
objectOutputStream.writeObject(units);
}
- @SuppressWarnings("unchecked")
- public synchronized void readObject(ObjectInputStream objectInputStream)
+ @SuppressWarnings("unchecked")
+ public synchronized void readObject(ObjectInputStream objectInputStream)
throws IOException, ClassNotFoundException {
booleanPrefs = (HashMap<String,Boolean>) objectInputStream.readObject();
colorPrefs = (HashMap<String,Color>) objectInputStream.readObject();
@@ -452,7 +452,7 @@ public abstract class VSPrefs implements Serializable {
units = (HashMap<String,String>) objectInputStream.readObject();
}
- /*
+ /*
public void saveFile(String filename) {
try {
FileOutputStream fileOutputStream = new FileOutputStream(filename);
@@ -463,9 +463,9 @@ public abstract class VSPrefs implements Serializable {
e.printStackTrace();
}
}
- */
+ */
- /*
+ /*
public static VSPrefs openFile(String filename) {
VSPrefs prefs = null;
@@ -485,7 +485,7 @@ public abstract class VSPrefs implements Serializable {
return prefs;
}
- */
+ */
public void copyIntegers(VSPrefs copyInto, String[] keys) {
for (String key : keys)