From a83bbfd5c510367a194073b1db132022cacf65ed Mon Sep 17 00:00:00 2001 From: jeff Date: Tue, 30 Sep 2014 00:25:36 -0400 Subject: fixed nasty issue with renaming inner classes, but alas, more bugs remain --- src/cuchaz/enigma/analysis/SourceIndex.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/cuchaz/enigma/analysis/SourceIndex.java') diff --git a/src/cuchaz/enigma/analysis/SourceIndex.java b/src/cuchaz/enigma/analysis/SourceIndex.java index faae1a1..21a499e 100644 --- a/src/cuchaz/enigma/analysis/SourceIndex.java +++ b/src/cuchaz/enigma/analysis/SourceIndex.java @@ -89,14 +89,12 @@ public class SourceIndex // DEBUG //System.out.println( String.format( "%s \"%s\" region: %s", node.getNodeType(), name, region ) ); - /* TODO: double check that we still need this // for tokens representing inner classes, make sure we only get the simple name int pos = node.getText().lastIndexOf( '$' ); if( pos >= 0 ) { token.end -= pos + 1; } - */ return token; } -- cgit v1.2.3