History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-23750
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Bas Leijdekkers
Reporter: Peter Lawrey
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

When suggesting that a type may be weakened, check for new checked exceptions.

Created: 12 Nov 07 15:20   Updated: 14 Mar 08 10:25
Component/s: Code Analysis. Inspection
Fix Version/s: Diana 8243, Selena 7.0.3

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 7,531
Fixed in build: 7,758


 Description  « Hide
In this example, "Type may be weakened" suggests "sb" could made "Appendable" however this would add a checked exception IOException to the method append().
public static String hashes(int len) {
        StringBuilder sb = new StringBuilder();
        for(int i=0;i<len;i++)
            sb.append('#');
        return sb.toString();
    }


 All   Comments   Work Log   Change History      Sort Order:
Bas Leijdekkers - 12 Mar 08 18:19
I had forgotten to mark this issue as resolved. It is fixed in the release candidate.