Author: slotia
Date: 2012-07-18 15:42:16 -0700 (Wed, 18 Jul 2012)
New Revision: 29926

Modified:
   
core3/impl/trunk/app-impl/src/main/java/org/cytoscape/app/internal/manager/AppParser.java
Log:
Moved Simple App specified fields to SimpleApp class

Modified: 
core3/impl/trunk/app-impl/src/main/java/org/cytoscape/app/internal/manager/AppParser.java
===================================================================
--- 
core3/impl/trunk/app-impl/src/main/java/org/cytoscape/app/internal/manager/AppParser.java
   2012-07-18 22:35:15 UTC (rev 29925)
+++ 
core3/impl/trunk/app-impl/src/main/java/org/cytoscape/app/internal/manager/AppParser.java
   2012-07-18 22:42:16 UTC (rev 29926)
@@ -162,7 +162,7 @@
                                // appVersion = "unversioned";
                        }
                        
-               } else if (!appVersion.matches(APP_VERSION_TAG_REGEX)) {
+               } else if 
(!SimpleApp.APP_VERSION_TAG_REGEX.matcher(appVersion).matches()) {
                        throw new AppParsingException("The app version 
specified in its manifest file under the key " + SimpleApp.APP_VERSION_TAG
                                        + " was found to not match the format 
major.minor[.patch][-tag], eg. 2.1, 2.1-test, 3.0.0 or 3.0.0-SNAPSHOT");
                }

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to