Changeset 313:92d12dd9e54c in finroc_core-java


Ignore:
Timestamp:
23.02.2019 11:30:08 (8 months ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
17.03
Children:
314:7dde8476b31f, 315:efb821cc5d93
Phase:
public
Message:

Simplifies deriving type adapters from default remote type adapter by making its Type enum public

File:
1 edited

Legend:

Unmodified
Added
Removed
  • remote/RemoteTypeAdapter.java

    r304 r313  
    123123    public static class Default extends RemoteTypeAdapter { 
    124124 
    125         enum Type { INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, FLOAT, DOUBLE, ENUM, BINARY_SERIALIZABLE, ARRAY, STRING_SERIALIZABLE, XML_SERIALIZABLE, TIMESTAMP_ONLY } 
     125        public enum Type { INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, FLOAT, DOUBLE, ENUM, BINARY_SERIALIZABLE, ARRAY, STRING_SERIALIZABLE, XML_SERIALIZABLE, TIMESTAMP_ONLY } 
    126126 
    127127        private static final DataTypeBase[] LIST_TYPES = new DataTypeBase[] { IntList.TYPE8, IntList.TYPE8U, IntList.TYPE16, IntList.TYPE16U, IntList.TYPE32, IntList.TYPE32U, IntList.TYPE64, IntList.TYPE64, FloatList.TYPE, DoubleList.TYPE }; 
Note: See TracChangeset for help on using the changeset viewer.