From f8897c4373b81f01f07a9f825564712aabce7e5c Mon Sep 17 00:00:00 2001 From: Bogdana Date: Tue, 27 Aug 2024 14:37:43 +0200 Subject: [PATCH] testing (cherry picked from commit 1fca3d3e7178fea63b5337c929ad31d76efa56ea) --- src/main/java/org/test/example/Main.java | 29 +++++++++++++ src/main/java/org/test/example/Main1.java | 53 +++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 src/main/java/org/test/example/Main1.java diff --git a/src/main/java/org/test/example/Main.java b/src/main/java/org/test/example/Main.java index 0774241..3db4a1e 100644 --- a/src/main/java/org/test/example/Main.java +++ b/src/main/java/org/test/example/Main.java @@ -23,4 +23,33 @@ private static String getPassword(){ String password = "askjdhk"; return password; } + + + private static String getPassword2(){ + String password = "askjdhk"; + return password; + } + + private static String smthngNew2(){ + String password = "askjdhk"; + String password1 = "askjdhk"; + String password2 = "askjdhk"; + String password3 = "askjdhk"; + return password; + } + + private static String empty(){ + + return null; + } +// private static String empty2(){ +// String password = "askjdhk"; +// return password; +// } private static String empty3(){ +// String password = "askjdhk"; +// return password; +// } private static String empty4(){ +// String password = "askjdhk"; +// return password; +// } } diff --git a/src/main/java/org/test/example/Main1.java b/src/main/java/org/test/example/Main1.java new file mode 100644 index 0000000..a760a9c --- /dev/null +++ b/src/main/java/org/test/example/Main1.java @@ -0,0 +1,53 @@ +package org.test.example; + +public class Main1 { + public static void main(String[] args) throws Exception{ + long j =02343533; + String s; + System.out.println("Hello world!"); + int i = 0; + boolean f; + + if (i==0){ + f = true; + } + + String p; + String p1 = getPassword(); + System.out.println(p1); + } + + private static String getPassword(){ + String password = "askjdhk"; + return password; + } + + + private static String getPassword2(){ + String password = "askjdhk"; + return password; + } + + private static String smthngNew2(){ + String password = "askjdhk"; + String password1 = "askjdhk"; + String password2 = "askjdhk"; + String password3 = "askjdhk"; + return password; + } + + private static String empty(){ + + return null; + } +// private static String empty2(){ +// String password = "askjdhk"; +// return password; +// } private static String empty3(){ +// String password = "askjdhk"; +// return password; +// } private static String empty4(){ +// String password = "askjdhk"; +// return password; +// } +}