Buggy code:
public class StoryFilter implements Parcelable { String title ; String author ; String size_max ; String creationDateMin ; String creationDateMax ; String city ; String latitude ; String longitude ; String radius ; public StoryFilter ( String title , String author , String size_max , String creationDateMin , String creationDateMax , String city , String latitude , String longitude , String radius ) { } public StoryFilter ( Parcel in ) { } @ Override public int describeContents ( ) { } @ Override public void writeToParcel ( Parcel dest , int flags ) { } public static final Parcelable . Creator < StoryFilter > CREATOR = new Parcelable . Creator < StoryFilter > ( ) { @ Override public StoryFilter createFromParcel ( Parcel source ) { } @ Override public StoryFilter [ ] newArray ( int size ) { } } ; public void resetToDefault ( ) { } public void SetStoryFilter ( String title , String author , String size_max , String creationDateMin , String creationDateMax , String city , String latitude , String longitude , String radius ) { } public boolean filterStoryItem ( Story item ) { boolean show = true ; if ( ( ( ! ( this . title . equals ( "" ) ) ) && ( ! ( item . getTitle ( ) . contains ( this . title ) ) ) ) && ( ! ( item . getTitle ( ) . toLowerCase ( ) . contains ( this . title . toLowerCase ( ) ) ) ) ) { show = false ; } if ( ( ( ( ! ( this . author . equals ( "" ) ) ) && ( ! ( item . getAuthor ( ) . contains ( this . author ) ) ) ) && ( ! ( item . getAuthor ( ) . toLowerCase ( ) . contains ( this . author . toLowerCase ( ) ) ) ) ) && show ) { show = false ; } if ( ( ! ( this . size_max . equals ( "" ) ) ) && show ) { <START_BUG> if ( ( Integer . parseInt ( this . size_max ) ) > ( Integer . parseInt ( item . getSize ( ) ) ) ) { <END_BUG> show = false ; } } if ( ( ! ( this . creationDateMin . equals ( "Datum<seq2seq4repair_space>festlegen" ) ) ) && show ) { Date dateMin = null ; Date itemDate = null ; try { SimpleDateFormat sdf = new SimpleDateFormat ( "dd.<seq2seq4repair_space>MM.<seq2seq4repair_space>yyyy" ) ; dateMin = sdf . parse ( this . creationDateMin ) ; sdf = new SimpleDateFormat ( "yyyy-MM-dd" ) ; itemDate = sdf . parse ( item . getCreated_at ( ) ) ; if ( ( ( itemDate . before ( dateMin ) ) && ( ! ( itemDate . equals ( dateMin ) ) ) ) && show ) { show = false ; } } catch ( ParseException e ) { e . printStackTrace ( ) ; } } if ( ( ! ( this . creationDateMax . equals ( "Datum<seq2seq4repair_space>festlegen" ) ) ) && show ) { Date dateMax = null ; Date itemDate = null ; try { SimpleDateFormat sdf = new SimpleDateFormat ( "dd.<seq2seq4repair_space>MM.<seq2seq4repair_space>yyyy" ) ; dateMax = sdf . parse ( this . creationDateMax ) ; sdf = new SimpleDateFormat ( "yyyy-MM-dd" ) ; itemDate = sdf . parse ( item . getCreated_at ( ) ) ; if ( ( itemDate . after ( dateMax ) ) && ( ! ( itemDate . equals ( dateMax ) ) ) ) { show = false ; } } catch ( ParseException e ) { e . printStackTrace ( ) ; } } if ( ( ( ( ! ( this . city . equals ( "" ) ) ) && ( ! ( this . latitude . equals ( "" ) ) ) ) && ( ! ( this . longitude . equals ( "" ) ) ) ) && show ) { Location filterLocation = new Location ( "filterLocation" ) ; Location itemLocation = new Location ( "itemLocation" ) ; filterLocation . setLatitude ( Double . parseDouble ( this . latitude ) ) ; filterLocation . setLongitude ( Double . parseDouble ( this . longitude ) ) ; itemLocation . setLatitude ( item . getLatitude ( ) ) ; itemLocation . setLongitude ( item . getLongitude ( ) ) ; float distance = ( filterLocation . distanceTo ( itemLocation ) ) // 1000 ; if ( distance > ( ( double ) ( Double . parseDouble ( this . radius ) ) ) ) { show = false ; } } return show ; } public String getQuery ( ) { } public String getTitle ( ) { } public void setTitle ( String title ) { } public String getAuthor ( ) { } public void setAuthor ( String author ) { } public String getSize_max ( ) { } public void setSize_max ( String size_max ) { } public String getCreationDateMin ( ) { } public void setCreationDateMin ( String creationDateMin ) { } public String getCreationDateMax ( ) { } public void setCreationDateMax ( String creationDateMax ) { } public String getCity ( ) { } public void setCity ( String city ) { } public String getRadius ( ) { } public void setRadius ( String radius ) { } public String getLatitude ( ) { } public void setLatitude ( String latitude ) { } public String getLongitude ( ) { } public void setLongitude ( String longitude ) { } }

Fix:
if ( ( Integer . parseInt ( this . size_max ) ) < ( Integer . parseInt ( item . getSize ( ) ) ) ) {