File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
sources/net.sf.j2s.core/src/net/sf/j2s/core/astvisitors Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -672,20 +672,7 @@ public boolean visit(ClassInstanceCreation node) {
672672 buffer .append (")" );
673673 } else {
674674 ITypeBinding binding = node .resolveTypeBinding ();
675- String anonClassName = null ;
676- if (binding .isAnonymous () || binding .isLocal ()) {
677- String binaryName = binding .getBinaryName ();
678- if (binaryName == null ) {
679- String bindingKey = binding .getKey ();
680- if (bindingKey != null ) {
681- binaryName = bindingKey = bindingKey .substring (1 , bindingKey .length () - 1 ).replace ('/' , '.' );
682- }
683- }
684- anonClassName = assureQualifiedName (shortenQualifiedName (binaryName ));
685- } else {
686- anonClassName = assureQualifiedName (shortenQualifiedName (binding .getQualifiedName ()));
687- }
688-
675+ // FIXME: commented-out code. To be removed after St. Olaf merge.
689676// String baseClassName = assureQualifiedName(shortenQualifiedName(getFullClassName()));
690677// String shortClassName = null;
691678// int idx = anonClassName.lastIndexOf('.');
You can’t perform that action at this time.
0 commit comments