Changeset 4286


Ignore:
Timestamp:
Feb 13, 2012, 12:10:13 PM (12 years ago)
Author:
Fredrik Levander
Message:

Refs #777. Avoiding null pointer exception

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugin/src/org/proteios/plugins/FeatureComparison.java

    r4284 r4286  
    227227        }
    228228      }
    229       else if (!feature.getPeptideSequence().equals(currentSequence))
     229      else if (feature.getPeptideSequence() != null && (!feature
     230        .getPeptideSequence().equals(currentSequence)))
    230231      {
    231232        conflict = true;
Note: See TracChangeset for help on using the changeset viewer.