mirror of
https://github.com/JonathanFleischmann/CompilerULTIMATE.git
synced 2024-12-26 16:58:03 +00:00
Corrected syntax error in test file
This commit is contained in:
parent
3619381f33
commit
b0ee9781ab
@ -115,7 +115,7 @@ public class AllFeaturesInOne {
|
||||
while (numberOfRepititions > 0) {
|
||||
numberOfRepetitionsWithoutSkip++;
|
||||
if (numberOfRepetitionsWithoutSkip == y) {
|
||||
print('');
|
||||
print('L');
|
||||
numberOfRepetitionsWithoutSkip = 0;
|
||||
} else {
|
||||
if (numberOfLetter == 0) {
|
||||
@ -135,10 +135,10 @@ public class AllFeaturesInOne {
|
||||
public void printEveryLetterXTimesAndSkipEveryYTimesSimple(int x, int y) {
|
||||
int numberOfLetter = 0;
|
||||
int repititionsAbs = 0;
|
||||
while((repititionsAbs % y) != 0 || repititionsAbs == 0) {
|
||||
while((repititionsAbs % y) != 0 || (repititionsAbs == 0)) {
|
||||
for (int i = 0; i < x; i++) {
|
||||
repititionsAbs++;
|
||||
if (repititionsAbs % y == 0) {
|
||||
if ((repititionsAbs % y) == 0) {
|
||||
print('L');
|
||||
continue;
|
||||
}
|
||||
@ -172,7 +172,7 @@ public class AllFeaturesInOne {
|
||||
}
|
||||
|
||||
public boolean allLettersAreDifferent() {
|
||||
return this.letter1 != this.letter2 && this.letter1 != this.letter3 && letter2 != this.letter3;
|
||||
return (this.letter1 != this.letter2) && ((this.letter1 != this.letter3) && (this.letter2 != this.letter3));
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
Loading…
Reference in New Issue
Block a user