question: public static void removeNature ( IProject project , String natureId ) throws CoreException { if ( ! project . hasNature ( natureId ) ) { return ; } IProjectDescription description = project . getDescription ( ) ; List < String > newNatures = new ArrayList < String > ( ) ; newNatures . addAll ( Arrays . asList ( description . getNatureIds ( ) ) ) ; newNatures . remove ( natureId ) ; description . setNatureIds ( newNatures . toArray ( new String [ 0 ] ) ) ; project . setDescription ( description , null ) ; }
target:  Removes the nature ID from a project's description.