Mikael Karlsson
- Total activity 126
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 1
- Subscriptions 55
-
Created Should modules export their test output dir?
Is it a good idea that modules expose their test output directory to dependent modules?It seems strange to me. Could it at least be an option?/Mikael -
Created Why no Structural Search intentions?
Demetra provides Structural Search inspections. Why no Structural Search intentions?There are many intentions that could be implemented using Structural Search. -
Created Possible inspection: Unnecessary middleman
Let's say that I've got the codeThis code has an unnecessary middleman (please disregard the feature envy in this example), and could be transformed intoWould this be possible to detect using an in... -
Created Browsing sample code
What technique do you use when browsing sample code?Let's say that you want to write a plugin for IDEA. You probably have a few samples that you want to keep on hand during development.How do you d... -
Created Idea for function: Access hierarchy
Quite often I find myself investigating a field to find outhow it is used. I usually do this by doing Find Usages on thefield. Based on the result I go to each usage and examine that,sometimes by u... -
Created Idea for inspection/quickfix
I'm starting with this:); System.out.println("Color is " + color);]]>Inlining my makeColor method gave me this code:) { result = "Foo"; } else { result = "Fie"; } String color = result; Syste... -
Created return known value
After some refactoring I ended up with this code:It surprised me that IDEA didn't suggest to replace "return val"with "return null".I searched JIRA for an item but didn't manage to find one. Is it ... -
Created 'I/O resource opened but safely closed' inspection
The closing part that goes in the finally block is a bitugly to look at:It's a nice candidate for a utility method, safeClose,or something. Unfortunately, the inspection doesn't understandthat safe... -
Created New refactoring: Reduce visibility
Maybe it's not a refactoring, but still...I have a non-private field in a class. I believe that thefield can be made private. How do I that, and make surethat I don't break anything?a) Type 'privat... -
Created Wish list for IDEA 6 :-)
How about an inspection/intention that can transform with A requirement is, of course, that foo is invariant./Mikael