Skip to content

Commit

Permalink
have 28 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Smechow committed Sep 17, 2024
1 parent ad696ad commit 4abab12
Showing 1 changed file with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
package core.basesyntax;

import core.basesyntax.Model.Dog;
import core.basesyntax.Model.Cat;

import core.basesyntax.Model.Dog;
import java.time.LocalDate;
import java.util.Objects;

public class Hello_World
{
public class HelloWorld {
private String a;
private int vARIaBLE;
private int age, size;
private int variable;
private int age;
private int size;


public static void main(String[] args) {
Expand All @@ -27,17 +25,17 @@ private String getFromOneToTen() {
return result;
}

private void sayHello(String HELLO) {
private void sayHello(String hello) {
System.out.println("Hello, Mate! I am happy to see you! This class looks weird! Your task is to fix the checkstyle in this file." +
" Your goal is to run `mvn clean package` and receive `BUILD SUCCESS` message");
System.out.println(HELLO);
System.out.println(hello);
}

private void initializeVariables() {
a = "Hello mates!";
System.out.println(a);
vARIaBLE = LocalDate.now().getYear();
System.out.println("It is " + vARIaBLE + "year");
variable = LocalDate.now().getYear();
System.out.println("It is " + variable + "year");
age = 25;
System.out.println("I'm " + age);
size = 42;
Expand Down

0 comments on commit 4abab12

Please sign in to comment.