joergreichert / spray

Automatically exported from code.google.com/p/spray
1 stars 2 forks source link

Constant generated with white spaces #201

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
class MyElement {
   shape org.eclipselabs.spray.shapes.MyShape
      behavior {
         create into myElements palette "My elements"
      }
}

generates to GraphitiToolBehaviorProviderBase

public abstract class GraphitiToolBehaviorProviderBase extends 
AbstractSprayToolBehaviorProvider {
   ...
   protected static final String MY ELEMENTS = "My elements";
   ...
}

-> the constant contains an invalid white space. 

The generator should filter out all characters that would be invalid in Java 
variable name.

Original issue reported on code.google.com by de.abg.r...@gmail.com on 18 Nov 2012 at 4:03

GoogleCodeExporter commented 9 years ago

Original comment by joswar...@gmail.com on 19 Nov 2012 at 11:50

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 85ff95298147.

Original comment by joswar...@gmail.com on 19 Nov 2012 at 11:51