8000 all user string input should be validated · Issue #203 · forge/roaster · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
all user string input should be validated #203
Open
@astubbs

Description

@astubbs
java.lang.IllegalArgumentException
	at org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.AST.newName(AST.java:2420)
	at org.jboss.forge.roaster.model.impl.JavaSourceImpl.setPackage(JavaSourceImpl.java:625)
	at org.jboss.forge.roaster.model.impl.JavaSourceImpl.setPackage(JavaSourceImpl.java:53)

setPackage should do a notBlank check on user input and throw contextual exception (same for all user input methods)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0