Ignore:
Timestamp:
04/17/19 17:48:37 (5 years ago)
Author:
bln4
Message:

*facepalm* actually fixed bug with frames storing data.

ExpWriter had to be updated to deal with the fact that the header could now have a list in it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/Frame.java

    r1324 r1326  
    141141       
    142142        // frame data
    143         private List<String> _frameData = new ArrayList<String>();
     143        private List<String> _frameData = null;
    144144
    145145        private int _lineCount = 0;
     
    18741874         */
    18751875        public void addToData(String dataItem) {
    1876                 _frameData.add(dataItem);
     1876                if (dataItem != null) {
     1877                        if (_frameData == null)
     1878                                _frameData = new LinkedList<String>();
     1879                        _frameData.add(dataItem);
     1880                }
    18771881        }
    18781882
Note: See TracChangeset for help on using the changeset viewer.