alexroldugin / spray

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

Constant generated with white spaces #201

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 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 8 years ago

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

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

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