Bug 216812 - cannot refactor (rename a method) protected Schema.Column cachCol(FuncSet<CP> fs, CP v, Schema.DataType type)
cannot refactor (rename a method) protected Schema.Column cachCol(FuncSet<CP>...
Status: NEW
Product: java
Classification: Unclassified
Component: Refactoring
7.2
PC Linux
: P3 (vote)
: TBD
Assigned To: Ralph Ruijs
issues@java
: PLATFORM, UI
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-13 14:44 UTC by tschorsch
Modified: 2012-08-24 08:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments
IDE log (51.79 KB, text/plain)
2012-08-13 14:44 UTC, tschorsch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tschorsch 2012-08-13 14:44:28 UTC
Product Version = NetBeans IDE 7.2 (Build 201207171143)
Operating System = Linux version 3.2.0-29-generic running on amd64
Java; VM; Vendor = 1.7.0_05
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.1-b03

the code that could not be refactored (renamed) was the first function as defined below. As you can see it is overloaded and simply calls another method of the same name. There are no other overloaded methods named cachCol

	protected Schema.Column cachCol(FuncSet<CP> fs, CP v, Schema.DataType type) {
		return cachCol(fs, v, type, null);
	}
	protected Schema.Column cachCol(FuncSet<CP> fs, CP v, Schema.DataType type, Class obj_type) {
		Schema.Column sc = getCachingSchCol(v, type, obj_type);
		if (sc.isNew()) newColCleanup(sc, fs, v);
		return sc;
	}


the class def is

public abstract class CacheFunc<CP extends CalcPeriod> extends Func<CP> {

if you need more let me know
Comment 1 tschorsch 2012-08-13 14:44:34 UTC
Created attachment 123057 [details]
IDE log


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo