Skip to content

all user string input should be validated #203

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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