removed trailing whitespace

This commit is contained in:
Jonas Bonér 2010-08-21 16:13:16 +02:00
parent ca38bc9f9d
commit 0e8096d4b4
92 changed files with 690 additions and 690 deletions

View file

@ -6,4 +6,4 @@ package sample.rest.java;
public interface PersistentSimpleService {
public String count();
}
}

View file

@ -39,4 +39,4 @@ public class PersistentSimpleServiceImpl extends TypedTransactor implements Pers
public void postRestart(Throwable cause) {
System.out.println("Reinitialize after restart by supervisor");
}
}
}

View file

@ -8,7 +8,7 @@ import javax.ws.rs.Path;
import javax.ws.rs.GET;
import javax.ws.rs.Produces;
/**
/**
* Try service out by invoking (multiple times):
* <pre>
* curl http://localhost:9998/persistentjavacount
@ -24,4 +24,4 @@ public class PersistentSimpleServiceRest {
public String count() {
return service.count();
}
}
}

View file

@ -6,4 +6,4 @@ package sample.rest.java;
public interface SimpleService {
public String count();
}
}

View file

@ -14,7 +14,7 @@ public class SimpleServiceImpl extends TypedTransactor implements SimpleService
private boolean hasStartedTicking = false;
private TransactionalMap<String, Integer> storage;
private Receiver receiver = TypedActor.newInstance(Receiver.class, ReceiverImpl.class);
public String count() {
if (storage == null) storage = new TransactionalMap<String, Integer>();
if (!hasStartedTicking) {
@ -39,4 +39,4 @@ public class SimpleServiceImpl extends TypedTransactor implements SimpleService
public void postRestart(Throwable cause) {
System.out.println("Reinitialize after restart by supervisor");
}
}
}

View file

@ -8,7 +8,7 @@ import javax.ws.rs.Path;
import javax.ws.rs.GET;
import javax.ws.rs.Produces;
/**
/**
* Try service out by invoking (multiple times):
* <pre>
* curl http://localhost:9998/javacount
@ -24,4 +24,4 @@ public class SimpleServiceRest {
public String count() {
return service.count();
}
}
}