Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
uydwl
mjtest-tests
Commits
21d4e131
Commit
21d4e131
authored
Nov 15, 2018
by
Christian Schwarz
Browse files
fix complaints from PR review
parent
9317e4cf
Changes
4
Hide whitespace changes
Inline
Side-by-side
semantic/if_else_type_mismatch.invalid.java
View file @
21d4e131
class
IfElseTypeMismatch
{
public
static
void
main
(
String
[]
args
)
{
foo
(
true
)
foo
(
true
)
;
}
public
int
foo
(
boolean
b
)
{
...
...
semantic/missing_main.invalid.java
View file @
21d4e131
class
MissingMain
{
int
x
;
public
int
x
;
public
void
foo
()
{}
}
semantic/namespaces.java
View file @
21d4e131
class
Foo
{
Foo
Foo
;
public
Foo
Foo
;
Foo
Foo
(
Foo
Foo
)
{
public
Foo
Foo
(
Foo
Foo
)
{
Foo
.
Foo
=
new
Foo
();
return
Foo
;
}
...
...
semantic/void_field.invalid.java
View file @
21d4e131
class
VoidField
{
void
foo
;
public
void
foo
;
public
static
void
main
(
String
[]
args
)
{
}
}
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment