diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-13 18:54:32 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-13 18:54:32 +0000 |
commit | 31c54dc253622bed21ed5c4ee355f07c152bf1d2 (patch) | |
tree | 6e4065eb1d83d29a5811375eeec06636205ddf5b /branches/sca-java-1.x/samples/binding-echo-extension/src/main/java/echo/provider/policy/ReverseEncryptionStrategy.java | |
parent | 9aa6e3d0558327677d6a072633db47c35ef7d0c0 (diff) |
Format the code
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@784450 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/samples/binding-echo-extension/src/main/java/echo/provider/policy/ReverseEncryptionStrategy.java')
-rw-r--r-- | branches/sca-java-1.x/samples/binding-echo-extension/src/main/java/echo/provider/policy/ReverseEncryptionStrategy.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/branches/sca-java-1.x/samples/binding-echo-extension/src/main/java/echo/provider/policy/ReverseEncryptionStrategy.java b/branches/sca-java-1.x/samples/binding-echo-extension/src/main/java/echo/provider/policy/ReverseEncryptionStrategy.java index cf55b36fc2..3220102926 100644 --- a/branches/sca-java-1.x/samples/binding-echo-extension/src/main/java/echo/provider/policy/ReverseEncryptionStrategy.java +++ b/branches/sca-java-1.x/samples/binding-echo-extension/src/main/java/echo/provider/policy/ReverseEncryptionStrategy.java @@ -23,7 +23,7 @@ package echo.provider.policy; public class ReverseEncryptionStrategy implements EncryptionStrategy {
public Object encryptMessage(Object msg) {
- if ( msg instanceof String ) {
+ if (msg instanceof String) {
StringBuffer sb = new StringBuffer((String)msg);
msg = sb.reverse().toString();
}
|