diff options
Diffstat (limited to 'branches/sca-java-1.x/modules/implementation-spring-runtime/src/main/java')
-rw-r--r-- | branches/sca-java-1.x/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/runtime/context/SpringContextTie.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/branches/sca-java-1.x/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/runtime/context/SpringContextTie.java b/branches/sca-java-1.x/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/runtime/context/SpringContextTie.java index 15d780b185..d44e4ef408 100644 --- a/branches/sca-java-1.x/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/runtime/context/SpringContextTie.java +++ b/branches/sca-java-1.x/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/runtime/context/SpringContextTie.java @@ -58,7 +58,7 @@ public class SpringContextTie { public SpringContextTie(SpringImplementationStub implementation, URL resource) throws Exception {
this.implementation = implementation;
- if (! SpringVersion.getVersion().equals("2.5.5")) {
+ if ((SpringVersion.getVersion()!= null) && (! SpringVersion.getVersion().equals("2.5.5"))) {
throw new RuntimeException("Unsupported version: Use only Spring Framework Version 2.5.5");
}
SCAParentApplicationContext scaParentContext = new SCAParentApplicationContext(implementation);
|