Skip to content

Commit 5100ee6

Browse files
committed
Update MainLibrary.java
Program closing bug after the registering has been fixed.
1 parent 35f9b6d commit 5100ee6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Codes/MainLibrary.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ else if (secenek == 2) {
6464
System.out.println("Hesabınız oluşturuldu!");
6565
System.out.println("Artık istediğiniz kitapları ve yazarlarını kitaplığınıza ekleyebilirsiniz.");
6666
System.out.println("Tekrardan giriş yapmalısınız:");
67-
break;
67+
continue;
6868

6969
}
7070
else if(secenek == 1) {
@@ -79,7 +79,7 @@ else if(secenek == 1) {
7979

8080
if (loggedInUser == null) {
8181
System.out.println("Hatalı kullanıcı adı veya şifre!");
82-
break;
82+
continue;
8383
}
8484

8585

0 commit comments

Comments
 (0)