summaryrefslogtreecommitdiff
path: root/sources/core/VSTask.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-06-14 00:43:00 +0000
committerPaul Buetow <paul@buetow.org>2008-06-14 00:43:00 +0000
commit044b410cde94862687b05f3b820676a65b1ea9d7 (patch)
treeb61e21395b44d693dba878620ee85569b844821d /sources/core/VSTask.java
parent2ff8bec447058ed606b278c1cd2a3f5120321550 (diff)
run astyle
Diffstat (limited to 'sources/core/VSTask.java')
-rw-r--r--sources/core/VSTask.java36
1 files changed, 18 insertions, 18 deletions
diff --git a/sources/core/VSTask.java b/sources/core/VSTask.java
index c06aad2..9167498 100644
--- a/sources/core/VSTask.java
+++ b/sources/core/VSTask.java
@@ -312,24 +312,24 @@ public class VSTask implements Comparable, VSSerializable {
* @param process the process
*/
public void setProcess(VSProcess process) {
- /* Only do it if the process differs */
- if (!this.process.equals(process)) {
- this.process = process;
-
- try {
- // Use the copy of the event object
- event = event.getCopy(process);
-
- } catch (VSEventNotCopyableException e) {
- if (event instanceof VSAbstractProtocol) {
- String eventShortname = event.getShortname();
- event = process.getProtocolObject(event.getClassname());
- event.setShortname(eventShortname);
- } else {
- System.out.println(e);
- }
- }
- }
+ /* Only do it if the process differs */
+ if (!this.process.equals(process)) {
+ this.process = process;
+
+ try {
+ // Use the copy of the event object
+ event = event.getCopy(process);
+
+ } catch (VSEventNotCopyableException e) {
+ if (event instanceof VSAbstractProtocol) {
+ String eventShortname = event.getShortname();
+ event = process.getProtocolObject(event.getClassname());
+ event.setShortname(eventShortname);
+ } else {
+ System.out.println(e);
+ }
+ }
+ }
}
/**