private void assertValidUsername()

in juneau-petstore-server/src/main/java/org/apache/juneau/petstore/service/PetStoreService.java [333:336]


	private void assertValidUsername(String username) throws InvalidUsername {
		if (username == null || ! username.matches("[\\w\\d]{3,8}"))
			throw new InvalidUsername();
	}