Skip to content

Commit

Permalink
removed unused code that prevents compiling on recent Eclipse versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jpstotz committed Apr 29, 2023
1 parent 2257cd8 commit c74344a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 236 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -87,25 +87,6 @@ public static void updateSourceRanges(IClassFile cf, String contents) throws Jav
HashMap sourceRange = (HashMap) ReflectionUtils.getFieldValue(mapper, "sourceRanges"); //$NON-NLS-1$
sourceRange.remove(type);
SourceMapperUtil.mapSource(mapper, type, contents.toCharArray(), typeInfo);

// List rootPaths = (List) ReflectionUtils.getFieldValue( mapper,
// "rootPaths" );
// String rootPath = null;
// if ( rootPaths != null && rootPaths.size( ) > 0 )
// {
// rootPath = (String) rootPaths.get( 0 );
// }
//
// if ( "".equals( rootPath ) )
// rootPath = null;
//
// ImportSourceMapper importMapper = new ImportSourceMapper(
// (IPath) ReflectionUtils.getFieldValue( mapper,
// "sourcePath" ),
// rootPath,
// (Map) ReflectionUtils.getFieldValue( mapper, "options" ) );
// importMapper.mapSource( type, contents.toCharArray( ), typeInfo
// );
}
}

Expand Down

0 comments on commit c74344a

Please sign in to comment.