Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Jastadd2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JastAdd
Jastadd2
Commits
857621a3
Commit
857621a3
authored
4 years ago
by
Jesper
Browse files
Options
Downloads
Patches
Plain Diff
Replace "can not" with "cannot"
parent
ea796eea
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/jastadd/ast/AttributeProblems.jrag
+1
-1
1 addition, 1 deletion
src/jastadd/ast/AttributeProblems.jrag
src/java/org/jastadd/Problem.java
+2
-2
2 additions, 2 deletions
src/java/org/jastadd/Problem.java
with
3 additions
and
3 deletions
src/jastadd/ast/AttributeProblems.jrag
+
1
−
1
View file @
857621a3
...
...
@@ -467,7 +467,7 @@ aspect AttributeProblems {
if (value == null) {
msg = "missing CollectionGroup argument";
} else if (value.equals("")) {
msg = "CollectionGroup argument can
not be empty";
msg = "CollectionGroup argument cannot be empty";
} else if (!isValidIdentifierPart(value)) {
msg = "CollectionGroup argument must be a valid identifier part";
}
...
...
This diff is collapsed.
Click to expand it.
src/java/org/jastadd/Problem.java
+
2
−
2
View file @
857621a3
...
...
@@ -56,7 +56,7 @@ public abstract class Problem {
public
ProblemBuilder
sourceFile
(
String
filename
)
{
if
(
filename
==
null
)
{
throw
new
NullPointerException
(
"filename can
not be null"
);
throw
new
NullPointerException
(
"filename cannot be null"
);
}
this
.
filename
=
filename
;
return
this
;
...
...
@@ -84,7 +84,7 @@ public abstract class Problem {
private
void
checkNotNull
()
{
if
(
message
==
null
)
{
throw
new
NullPointerException
(
"message can
not be null"
);
throw
new
NullPointerException
(
"message cannot be null"
);
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment