Changeset 288:eb0b5d076d77 in finroc_tools_finstruct-java
- Timestamp:
- 04.04.2020 15:05:02 (3 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
propertyeditor/FinrocComponentFactory.java
r282 r288 181 181 } 182 182 183 @SuppressWarnings({ "unchecked", "rawtypes" }) 183 184 @Override 184 185 public void set(String s) throws Exception { … … 186 187 DataTypeBase dt = SerializationHelper.getTypedStringDataType(dataType, s); 187 188 BinarySerializable buffer = (BinarySerializable)dt.createInstance(); 189 if (buffer instanceof Copyable) { 190 ((Copyable)buffer).copyFrom(wrapped.get()); 191 } 188 192 SerializationHelper.typedStringDeserialize(buffer, s); 189 193 wrapped.set(buffer);
Note: See TracChangeset
for help on using the changeset viewer.