Changeset 2092
- Timestamp:
- Nov 7, 2011, 5:28:37 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/visualization/VisualizeController.groovy
r2091 r2092 1110 1110 protected String createFieldId( Map attrs ) { 1111 1111 // TODO: What if one of the attributes contains a comma? 1112 def name = attrs.name;1113 def id = attrs.id ?: name;1114 def source = attrs.source;1115 def type = attrs.type ?: ""1116 def unit = attrs.unit ?: ""1112 def name = new String(attrs.name); 1113 def id = new String(attrs.id ?: name); 1114 def source = new String(attrs.source); 1115 def type = new String(attrs.type ?: ""); 1116 def unit = new String(attrs.unit ?: ""); 1117 1117 1118 1118 return id.bytes.encodeBase64().toString() + "," +
Note: See TracChangeset
for help on using the changeset viewer.