Skip to content

Commit

Permalink
Stop using deprecated JavaConventions.validateJavaTypeName method
Browse files Browse the repository at this point in the history
The replacement one has one more parameter previewEnabled but it's fine
to pass null to have it disabled as per javadoc.
  • Loading branch information
akurtakov committed Apr 17, 2024
1 parent a404764 commit 0a09219
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2010, 2017 BestSolution.at and others.
* Copyright (c) 2010, 2024 BestSolution.at and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
Expand Down Expand Up @@ -517,7 +517,7 @@ public IStatus validate(String name) {
Messages.AbstractNewClassPage_NameMustBeQualified);
}

return JavaConventions.validateJavaTypeName(name, JavaCore.VERSION_1_3, JavaCore.VERSION_1_3);
return JavaConventions.validateJavaTypeName(name, JavaCore.VERSION_1_3, JavaCore.VERSION_1_3, null);
}
}

Expand Down

0 comments on commit 0a09219

Please sign in to comment.