Repository navigation
Cleanup NetBeans Upgrader module. - #7155
Conversation
292b5b3 to
f15c41c
Compare
| d.setVisible (true); | ||
| } | ||
|
|
||
| static void doUpgrade (File source, String oldVersion) |
There was a problem hiding this comment.
this method has a test but was not used at runtime. I moved a simpler version of this method into the AutoUpgradeTest so that no test coverage of Copy.copyDeep is lost.
There was a problem hiding this comment.
I moved the test from AutoUpgrade to CopyTest.
| FileUtil.copyAttributes(sourceFile, tg); | ||
| } | ||
|
|
||
| public static void appendSelectedLines(File sourceFile, File targetFolder, String[] regexForSelection) |
There was a problem hiding this comment.
this method is also not used. Here I removed the test too since this makes no deeper calls beside JDK code -> no real test coverage is lost
|
LGTM |
f15c41c to
f2cd9cc
Compare
|
found another left open stream while looking through it. Updated the PR, not really noteworthy since it was in a test. diff |
f2cd9cc to
4354765
Compare
|
thanks for the reviews so far, planning to merge this Sunday evening UTC. |
4354765 to
7d861a3
Compare
|
sorry that I change things after it was already reviewed but I found a few more things to do after debugging. When looking through
now the question is: should we remove more? Or merge as is? |
|
I am thinking that I am going to merge leave the other cleanup options for future PRs. |
- removed dead code which was tested but not accessible at runtime - removed CVS specific code - moved test data into test folder - code renovation, esp file-IO - fixed all compiler warnings
|
refreshing PR and preparing for merge |
7d861a3 to
3034cb5
Compare
another pass over
nb/o.n.upgrade.