file_id
stringlengths
5
10
content
stringlengths
57
33.1k
repo
stringlengths
8
77
path
stringlengths
6
174
token_length
int64
19
8.19k
original_comment
stringlengths
7
10.6k
comment_type
stringclasses
2 values
detected_lang
stringclasses
1 value
prompt
stringlengths
21
33.1k
28920_1
package pl.pollub.android.myapplication.ui.profile; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.fr...
Romavel/My__Application
app/src/main/java/pl/pollub/android/myapplication/ui/profile/ProfileFragment.java
570
// Wylogowanie użytkownika za pomocą Firebase Authentication
line_comment
pl
package pl.pollub.android.myapplication.ui.profile; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.fr...
28920_2
package pl.pollub.android.myapplication.ui.profile; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.fr...
Romavel/My__Application
app/src/main/java/pl/pollub/android/myapplication/ui/profile/ProfileFragment.java
570
// Przenieś użytkownika do LoginActivity
line_comment
pl
package pl.pollub.android.myapplication.ui.profile; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.fr...
28920_3
package pl.pollub.android.myapplication.ui.profile; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.fr...
Romavel/My__Application
app/src/main/java/pl/pollub/android/myapplication/ui/profile/ProfileFragment.java
570
// Jeśli chcesz, aby użytkownik nie mógł wrócić do ProfileFragment przyciskiem "wstecz"
line_comment
pl
package pl.pollub.android.myapplication.ui.profile; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.fr...
28923_0
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
//Użycie tej adnotacji definiuje Springowego beana, od @RestController, którego używaliśmy do tej pory różni się tym,
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej <SUF> //że dedytkowany jest d...
28923_1
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
//że dedytkowany jest do udostępniania stron w formacie html, a nie w postacji json jak to ma miejsce w przypadku restowego kontrolera
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28923_4
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
//korzystamy z adnotacji znanych nam z restowych kontrollerów, żeby określić metodę (opcjonalnie też ścieżkę do metody)
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28923_5
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
// jeśli chcemy operować danymi na widoku to w parametrze zawsze musimy pobrać Model - jest to model ze wzorca MVC
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28923_6
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
//model.addAttribute("name", name); //dodanie do modelu atrybutu o konkretnej nazwie pozwoli nam następnie na widoku pobrać jego wartość po nadanej tu nazwie
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28923_7
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
//z metod zawsze zwracamy Stringa i jako wartość wstawiamy nazwę szablonu thymeleafowego (pliku html)
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28923_8
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
// ustawiamy ścieżkę, do zwrócenia stron zawsze używamy metody GET, jest to standardowa metoda
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28923_9
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
//jakiej używają przeglądarki do pobrania strony
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28923_10
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
// dodajemy pusty obiekt do formularza tak, aby użytkownik mógł do niego wprowadzić wartości
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28923_11
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
//jeśli byśmy tego nie zrobili otrzymalibyśmy błąd, ponieważ nie możemy korzystać w javie (a co za tym idzie w thymeleaf) z niezainicjalizowanych obiektów
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28923_12
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
//jeśli obiekt ten miałby ustawioną jakąś wartość byłaby ona od razu wprowadzona na wyświetlonym formularzu
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28923_13
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
// tu pojawia się post, gdyż jest to akcja wywoływana z jednego z szablonów,
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28923_14
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
//a nie na podstawie adresu z przeglądarki
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28923_15
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
//jako, że nie wchodzimy to bezpośrednio na stronę, a akcja dzieje się po kliknięciu przycisku
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28923_16
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
//do nazwy szablonu musimy dodać 'redirect:{ścieżka do strony}' aby zostać przeniesionym po kliknięciu przycisku na inną stronę
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28923_17
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
//robimy to tylko w przypadku gdy jest to przeniesienie na podstawie akcji użytkownika, jeśli udostępniamy stronę na podstawie adresu w przeglądarce podajemy tylko nazwę szablonu
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28923_18
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
// @GetMapping("/byKierunek") // ustawiamy ścieżkę, do zwrócenia stron zawsze używamy metody GET, jest to standardowa metoda
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28923_19
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
// //jakiej używają przeglądarki do pobrania strony
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28923_23
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
//todo edycja poniżej - coś się nie zgrywa w momencie klikania zaktualizowania danych przy zmianie danych
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28923_24
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
//todo wyskakuje error ktory nie wiem jak naprawić
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28923_26
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
// return "redirect:/students-page"; // Przekierowanie do listy studentów
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28923_27
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
Szy-Ban/MPR-project
front/src/main/java/com/example/monday/resource/StudentPageController.java
1,848
// Pusty obiekt DTO do wyszukiwania
line_comment
pl
package com.example.monday.resource; import com.example.monday.service.StudentService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; @Controller //Użycie tej adnotacji definiuje Springowe...
28924_0
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//Brak obsługi wysyłania plików, stosowane tylko do ich pobierania
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_1
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//Posiada obsługę pobierania i wysyłania plików
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_2
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//próbowanie 5 razy aż będzie "success"
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_3
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
// dzięki temu automatycznie zamyka połączenia
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_5
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//czekanie aż zejdzie rate limit i ponawianie próby
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_6
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
// nie wiem czy 5s to nie za mało
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_7
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
/* Według dokumentacji wystarczy poczekać i spróbować ponownie. https://discord.com/developers/docs/topics/opcodes-and-status-codes#http */
block_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_9
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//nieznany błąd pomimo prób wysyłania
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_10
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//todo powiadomienie i przerwanie wysyłania
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_12
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
// usuwanie pliku tymczasowego
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_13
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
// Sprawdzanie, czy zadanie zostało w całości zakończone
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_14
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//nie wiem czy tutaj dawać progressGUI.dispose();
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_16
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
// pokazywanie głównego okna po zakończeniu operacji
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_17
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
/* Kontynuuje wysyłanie pliku. */
block_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_18
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//sprawdzanie czy pliki są identyczne
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_19
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//sprawdzanie czy plik został już w pełni wysłany
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_20
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//sprawdzanie czy trzeba ponowić próbę wysyłania niektórych kawałków
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_21
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
// potrzebne ponieważ wątek wymaga stałej (finalnej) wartości zmiennej
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_22
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//standardowa kontynuacja wysyłania
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_23
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//fixme: tutaj potrafi wystąpić błąd po wysłaniu ostatniego kawałka pliku ale mimo wszystko plik jest przesyłany poprawnie
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_24
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//powtarzanie wysyłania pliku
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_25
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//próbowanie 5 razy aż będzie "success"
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_26
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
// dzięki temu automatycznie zamyka połączenia
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_28
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//czekanie aż zejdzie rate limit i ponawianie próby
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_29
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
// nie wiem czy 5s to nie za mało
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_30
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
/* Według dokumentacji wystarczy poczekać i spróbować ponownie. https://discord.com/developers/docs/topics/opcodes-and-status-codes#http */
block_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_32
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//nieznany błąd pomimo prób wysyłania
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_33
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//todo powiadomienie i przerwanie wysyłania
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_35
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
// usuwanie pliku tymczasowego
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_36
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
// Sprawdzanie, czy zadanie zostało w całości zakończone
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_37
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//nie wiem czy tutaj dawać progressGUI.dispose();
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_39
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
// pokazywanie głównego okna po zakończeniu operacji
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_40
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
// kawałek który nie mógł zostać wysłany
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_41
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
/* Jeżeli jest wysyłany jakiś kawałek pliku, który nie mógł zostać wcześniej wysłany, to trzeba usunąć go z listy kawałków i dodać ten poprawny. */
block_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_42
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
// +1 ponieważ jest jeszcze proces łączenia kawałków i zaliczam go jako jaden kawałek
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_43
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
// tworzenie tymczasowego folderu do pobrania plików
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_44
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//próbowanie 5 razy aż będzie "success"
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_46
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//czekanie aż zejdzie rate limit i ponawianie próby
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_47
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
// nie wiem czy 5s to nie za mało
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_48
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
/* Według dokumentacji wystarczy poczekać i spróbować ponownie. https://discord.com/developers/docs/topics/opcodes-and-status-codes#http */
block_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_50
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
// zamiana na ścieżkę do pliku
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_52
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
//nieznany błąd pomimo prób pobierania
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_53
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
// tworzenie folderu na pobrany plik
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_54
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
// Sprawdzanie, czy zadanie zostało w całości zakończone
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28924_55
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
BestInTest/discord-cloud
src/main/java/yo/men/discordcloud/structure/WebHookManager.java
8,052
// pokazywanie głównego okna po zakończeniu operacji
line_comment
pl
package yo.men.discordcloud.structure; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import okhttp3.*; import yo.men.discordcloud.Main; import yo.men.discordcloud.gui.ProgressGUI; import yo.men.discordcloud.utils.FileHashCalculator; import yo.men.discordcloud.utils.FileHelper; import yo.men.discordc...
28928_0
package com.k0pster.springboot.demo.springcoredemo.common; import org.springframework.stereotype.Component; //dodajemy adnotacje @Component aby spring mógł znaleźć tą zaleznosc @Component public class FootballCoach implements Coach{ //Tworze klase konstruktor ktora wyprintuje nazwe klasy public FootballCoach(...
k0pster/Udemy_SpringBoot3
02-spring-boot-core/06-bean-scopes/src/main/java/com/k0pster/springboot/demo/springcoredemo/common/FootballCoach.java
168
//dodajemy adnotacje @Component aby spring mógł znaleźć tą zaleznosc
line_comment
pl
package com.k0pster.springboot.demo.springcoredemo.common; import org.springframework.stereotype.Component; //dodajemy adnotacje <SUF> @Component public class FootballCoach implements Coach{ //Tworze klase konstruktor ktora wyprintuje nazwe klasy public FootballCoach() { System.out.println("In con...
28928_1
package com.k0pster.springboot.demo.springcoredemo.common; import org.springframework.stereotype.Component; //dodajemy adnotacje @Component aby spring mógł znaleźć tą zaleznosc @Component public class FootballCoach implements Coach{ //Tworze klase konstruktor ktora wyprintuje nazwe klasy public FootballCoach(...
k0pster/Udemy_SpringBoot3
02-spring-boot-core/06-bean-scopes/src/main/java/com/k0pster/springboot/demo/springcoredemo/common/FootballCoach.java
168
//Tworze klase konstruktor ktora wyprintuje nazwe klasy
line_comment
pl
package com.k0pster.springboot.demo.springcoredemo.common; import org.springframework.stereotype.Component; //dodajemy adnotacje @Component aby spring mógł znaleźć tą zaleznosc @Component public class FootballCoach implements Coach{ //Tworze klase <SUF> public FootballCoach() { System.out.println(...
28931_0
package com.k0pster.springboot.demo.springcoredemo; import org.springframework.stereotype.Component; //dodajemy adnotacje @Component aby spring mógł znaleźć tą zaleznosc @Component public class FootballCoach implements Coach{ @Override public String getDailyWorkout() { return "Practice shots on goal i...
k0pster/Udemy_SpringBoot3
02-spring-boot-core/01-constructor-injection/src/main/java/com/k0pster/springboot/demo/springcoredemo/FootballCoach.java
113
//dodajemy adnotacje @Component aby spring mógł znaleźć tą zaleznosc
line_comment
pl
package com.k0pster.springboot.demo.springcoredemo; import org.springframework.stereotype.Component; //dodajemy adnotacje <SUF> @Component public class FootballCoach implements Coach{ @Override public String getDailyWorkout() { return "Practice shots on goal in next 15 minutes."; } }
28934_0
package com.k0pster.springboot.demo.springcoredemo.common; import org.springframework.stereotype.Component; //dodajemy adnotacje @Component aby spring mógł znaleźć tą zaleznosc @Component public class FootballCoach implements Coach{ @Override public String getDailyWorkout() { return "Practice shots on...
k0pster/Udemy_SpringBoot3
02-spring-boot-core/03-setter-injection/src/main/java/com/k0pster/springboot/demo/springcoredemo/common/FootballCoach.java
115
//dodajemy adnotacje @Component aby spring mógł znaleźć tą zaleznosc
line_comment
pl
package com.k0pster.springboot.demo.springcoredemo.common; import org.springframework.stereotype.Component; //dodajemy adnotacje <SUF> @Component public class FootballCoach implements Coach{ @Override public String getDailyWorkout() { return "Practice shots on goal in next 15 minutes :)"; } }
28935_1
package org.pitest.mutationtest.sam.ui.console; import org.pitest.extensions.MutationRandomizerSingleton; import org.pitest.mutationtest.DetectionStatus; import org.pitest.mutationtest.sam.config.FromFileMetaData; import org.pitest.mutationtest.sam.config.IProjectMetaData; import org.pitest.mutationtest.sam.config.Imp...
michaelmnich/S.A.M-Mutation-Core
pitest-master/SAM-System/src/main/java/org/pitest/mutationtest/sam/ui/console/ConsoleUi.java
4,649
//i to trzeba jakos ogarnac tutaj zabawa analityczna
line_comment
pl
package org.pitest.mutationtest.sam.ui.console; import org.pitest.extensions.MutationRandomizerSingleton; import org.pitest.mutationtest.DetectionStatus; import org.pitest.mutationtest.sam.config.FromFileMetaData; import org.pitest.mutationtest.sam.config.IProjectMetaData; import org.pitest.mutationtest.sam.config.Imp...
28935_2
package org.pitest.mutationtest.sam.ui.console; import org.pitest.extensions.MutationRandomizerSingleton; import org.pitest.mutationtest.DetectionStatus; import org.pitest.mutationtest.sam.config.FromFileMetaData; import org.pitest.mutationtest.sam.config.IProjectMetaData; import org.pitest.mutationtest.sam.config.Imp...
michaelmnich/S.A.M-Mutation-Core
pitest-master/SAM-System/src/main/java/org/pitest/mutationtest/sam/ui/console/ConsoleUi.java
4,649
//Przed wszystkim klasy trzeba wyciac osobno i do testów ilosc klas przez ilosc nodó i wywylayac jakos
line_comment
pl
package org.pitest.mutationtest.sam.ui.console; import org.pitest.extensions.MutationRandomizerSingleton; import org.pitest.mutationtest.DetectionStatus; import org.pitest.mutationtest.sam.config.FromFileMetaData; import org.pitest.mutationtest.sam.config.IProjectMetaData; import org.pitest.mutationtest.sam.config.Imp...
28935_3
package org.pitest.mutationtest.sam.ui.console; import org.pitest.extensions.MutationRandomizerSingleton; import org.pitest.mutationtest.DetectionStatus; import org.pitest.mutationtest.sam.config.FromFileMetaData; import org.pitest.mutationtest.sam.config.IProjectMetaData; import org.pitest.mutationtest.sam.config.Imp...
michaelmnich/S.A.M-Mutation-Core
pitest-master/SAM-System/src/main/java/org/pitest/mutationtest/sam/ui/console/ConsoleUi.java
4,649
//Odpalanie pojedynczej instacji pita projekt pobierany z konfiga
line_comment
pl
package org.pitest.mutationtest.sam.ui.console; import org.pitest.extensions.MutationRandomizerSingleton; import org.pitest.mutationtest.DetectionStatus; import org.pitest.mutationtest.sam.config.FromFileMetaData; import org.pitest.mutationtest.sam.config.IProjectMetaData; import org.pitest.mutationtest.sam.config.Imp...
28935_5
package org.pitest.mutationtest.sam.ui.console; import org.pitest.extensions.MutationRandomizerSingleton; import org.pitest.mutationtest.DetectionStatus; import org.pitest.mutationtest.sam.config.FromFileMetaData; import org.pitest.mutationtest.sam.config.IProjectMetaData; import org.pitest.mutationtest.sam.config.Imp...
michaelmnich/S.A.M-Mutation-Core
pitest-master/SAM-System/src/main/java/org/pitest/mutationtest/sam/ui/console/ConsoleUi.java
4,649
//Odpalanie pojedynczej instacji pita projekt pobierany z konfiga z uwzglednienim bayesa
line_comment
pl
package org.pitest.mutationtest.sam.ui.console; import org.pitest.extensions.MutationRandomizerSingleton; import org.pitest.mutationtest.DetectionStatus; import org.pitest.mutationtest.sam.config.FromFileMetaData; import org.pitest.mutationtest.sam.config.IProjectMetaData; import org.pitest.mutationtest.sam.config.Imp...
28935_7
package org.pitest.mutationtest.sam.ui.console; import org.pitest.extensions.MutationRandomizerSingleton; import org.pitest.mutationtest.DetectionStatus; import org.pitest.mutationtest.sam.config.FromFileMetaData; import org.pitest.mutationtest.sam.config.IProjectMetaData; import org.pitest.mutationtest.sam.config.Imp...
michaelmnich/S.A.M-Mutation-Core
pitest-master/SAM-System/src/main/java/org/pitest/mutationtest/sam/ui/console/ConsoleUi.java
4,649
//Odpalanie pojedynczej instacji pita projekt pobierany z konfiga z uwzglednienim bayesa
line_comment
pl
package org.pitest.mutationtest.sam.ui.console; import org.pitest.extensions.MutationRandomizerSingleton; import org.pitest.mutationtest.DetectionStatus; import org.pitest.mutationtest.sam.config.FromFileMetaData; import org.pitest.mutationtest.sam.config.IProjectMetaData; import org.pitest.mutationtest.sam.config.Imp...
28935_8
package org.pitest.mutationtest.sam.ui.console; import org.pitest.extensions.MutationRandomizerSingleton; import org.pitest.mutationtest.DetectionStatus; import org.pitest.mutationtest.sam.config.FromFileMetaData; import org.pitest.mutationtest.sam.config.IProjectMetaData; import org.pitest.mutationtest.sam.config.Imp...
michaelmnich/S.A.M-Mutation-Core
pitest-master/SAM-System/src/main/java/org/pitest/mutationtest/sam/ui/console/ConsoleUi.java
4,649
//Odpalanie pojedynczej instacji pita projekt pobierany z konfiga z uwzglednienim bayesa
line_comment
pl
package org.pitest.mutationtest.sam.ui.console; import org.pitest.extensions.MutationRandomizerSingleton; import org.pitest.mutationtest.DetectionStatus; import org.pitest.mutationtest.sam.config.FromFileMetaData; import org.pitest.mutationtest.sam.config.IProjectMetaData; import org.pitest.mutationtest.sam.config.Imp...
28935_9
package org.pitest.mutationtest.sam.ui.console; import org.pitest.extensions.MutationRandomizerSingleton; import org.pitest.mutationtest.DetectionStatus; import org.pitest.mutationtest.sam.config.FromFileMetaData; import org.pitest.mutationtest.sam.config.IProjectMetaData; import org.pitest.mutationtest.sam.config.Imp...
michaelmnich/S.A.M-Mutation-Core
pitest-master/SAM-System/src/main/java/org/pitest/mutationtest/sam/ui/console/ConsoleUi.java
4,649
//Metoda z wstryzkiwanym imputem hardcoded narazie
line_comment
pl
package org.pitest.mutationtest.sam.ui.console; import org.pitest.extensions.MutationRandomizerSingleton; import org.pitest.mutationtest.DetectionStatus; import org.pitest.mutationtest.sam.config.FromFileMetaData; import org.pitest.mutationtest.sam.config.IProjectMetaData; import org.pitest.mutationtest.sam.config.Imp...
28936_0
package com.k0pster.springboot.demo.springcoredemo.common; import org.springframework.stereotype.Component; //dodajemy adnotacje @Component aby spring mógł znaleźć tą zaleznosc @Component public class FootballCoach implements Coach{ @Override public String getDailyWorkout() { return "Practice shots on...
k0pster/Udemy_SpringBoot3
02-spring-boot-core/02-component-scanning/src/main/java/com/k0pster/springboot/demo/springcoredemo/common/FootballCoach.java
115
//dodajemy adnotacje @Component aby spring mógł znaleźć tą zaleznosc
line_comment
pl
package com.k0pster.springboot.demo.springcoredemo.common; import org.springframework.stereotype.Component; //dodajemy adnotacje <SUF> @Component public class FootballCoach implements Coach{ @Override public String getDailyWorkout() { return "Practice shots on goal in next 15 minutes."; } }
29041_0
package pl.north93.northplatform.api.global.messages; import java.util.Arrays; import java.util.List; import org.apache.commons.lang3.StringUtils; import lombok.ToString; import net.md_5.bungee.api.ChatColor; import pl.north93.northplatform.api.bukkit.utils.chat.ChatUtils; /** * Reprezentuje wiadomość zapisaną w s...
northpl93/NorthPlatform
Sources/API/src/main/java/pl/north93/northplatform/api/global/messages/LegacyMessage.java
556
/** * Reprezentuje wiadomość zapisaną w starym systemie kolorowania, * wciąż używanym w niektórych częściach minecrafta. */
block_comment
pl
package pl.north93.northplatform.api.global.messages; import java.util.Arrays; import java.util.List; import org.apache.commons.lang3.StringUtils; import lombok.ToString; import net.md_5.bungee.api.ChatColor; import pl.north93.northplatform.api.bukkit.utils.chat.ChatUtils; /** * Reprezentuje wiadomość zapisaną <SU...
29041_1
package pl.north93.northplatform.api.global.messages; import java.util.Arrays; import java.util.List; import org.apache.commons.lang3.StringUtils; import lombok.ToString; import net.md_5.bungee.api.ChatColor; import pl.north93.northplatform.api.bukkit.utils.chat.ChatUtils; /** * Reprezentuje wiadomość zapisaną w s...
northpl93/NorthPlatform
Sources/API/src/main/java/pl/north93/northplatform/api/global/messages/LegacyMessage.java
556
/** * Zwraca listę linijek tej wiadomości. * * @return Lista linijek tej wiadomości. */
block_comment
pl
package pl.north93.northplatform.api.global.messages; import java.util.Arrays; import java.util.List; import org.apache.commons.lang3.StringUtils; import lombok.ToString; import net.md_5.bungee.api.ChatColor; import pl.north93.northplatform.api.bukkit.utils.chat.ChatUtils; /** * Reprezentuje wiadomość zapisaną w s...
29042_0
package PRO1; import java.util.List; public class Player { private final boolean isWhite; private final String name; public Color color; public Player(boolean isWhite, String name) { this.isWhite = isWhite; this.color = (isWhite) ? Color.WHITE : Color.BLACK; this.name = name; ...
kempikl/GUI-PJATK
src/PRO1/Player.java
1,180
// Wykonaj tymczasowy ruch
line_comment
pl
package PRO1; import java.util.List; public class Player { private final boolean isWhite; private final String name; public Color color; public Player(boolean isWhite, String name) { this.isWhite = isWhite; this.color = (isWhite) ? Color.WHITE : Color.BLACK; this.name = name; ...
29042_1
package PRO1; import java.util.List; public class Player { private final boolean isWhite; private final String name; public Color color; public Player(boolean isWhite, String name) { this.isWhite = isWhite; this.color = (isWhite) ? Color.WHITE : Color.BLACK; this.name = name; ...
kempikl/GUI-PJATK
src/PRO1/Player.java
1,180
// Sprawdź, czy ruch powoduje szach dla własnego króla
line_comment
pl
package PRO1; import java.util.List; public class Player { private final boolean isWhite; private final String name; public Color color; public Player(boolean isWhite, String name) { this.isWhite = isWhite; this.color = (isWhite) ? Color.WHITE : Color.BLACK; this.name = name; ...
29042_2
package PRO1; import java.util.List; public class Player { private final boolean isWhite; private final String name; public Color color; public Player(boolean isWhite, String name) { this.isWhite = isWhite; this.color = (isWhite) ? Color.WHITE : Color.BLACK; this.name = name; ...
kempikl/GUI-PJATK
src/PRO1/Player.java
1,180
// Jeśli tak, cofnij ruch i zwróć false
line_comment
pl
package PRO1; import java.util.List; public class Player { private final boolean isWhite; private final String name; public Color color; public Player(boolean isWhite, String name) { this.isWhite = isWhite; this.color = (isWhite) ? Color.WHITE : Color.BLACK; this.name = name; ...
29042_3
package PRO1; import java.util.List; public class Player { private final boolean isWhite; private final String name; public Color color; public Player(boolean isWhite, String name) { this.isWhite = isWhite; this.color = (isWhite) ? Color.WHITE : Color.BLACK; this.name = name; ...
kempikl/GUI-PJATK
src/PRO1/Player.java
1,180
// Sprawdź promocję piona
line_comment
pl
package PRO1; import java.util.List; public class Player { private final boolean isWhite; private final String name; public Color color; public Player(boolean isWhite, String name) { this.isWhite = isWhite; this.color = (isWhite) ? Color.WHITE : Color.BLACK; this.name = name; ...
29042_4
package PRO1; import java.util.List; public class Player { private final boolean isWhite; private final String name; public Color color; public Player(boolean isWhite, String name) { this.isWhite = isWhite; this.color = (isWhite) ? Color.WHITE : Color.BLACK; this.name = name; ...
kempikl/GUI-PJATK
src/PRO1/Player.java
1,180
// Znajdź współrzędne króla
line_comment
pl
package PRO1; import java.util.List; public class Player { private final boolean isWhite; private final String name; public Color color; public Player(boolean isWhite, String name) { this.isWhite = isWhite; this.color = (isWhite) ? Color.WHITE : Color.BLACK; this.name = name; ...
29042_5
package PRO1; import java.util.List; public class Player { private final boolean isWhite; private final String name; public Color color; public Player(boolean isWhite, String name) { this.isWhite = isWhite; this.color = (isWhite) ? Color.WHITE : Color.BLACK; this.name = name; ...
kempikl/GUI-PJATK
src/PRO1/Player.java
1,180
// Sprawdź, czy którykolwiek z przeciwników może zaatakować króla
line_comment
pl
package PRO1; import java.util.List; public class Player { private final boolean isWhite; private final String name; public Color color; public Player(boolean isWhite, String name) { this.isWhite = isWhite; this.color = (isWhite) ? Color.WHITE : Color.BLACK; this.name = name; ...
29042_6
package PRO1; import java.util.List; public class Player { private final boolean isWhite; private final String name; public Color color; public Player(boolean isWhite, String name) { this.isWhite = isWhite; this.color = (isWhite) ? Color.WHITE : Color.BLACK; this.name = name; ...
kempikl/GUI-PJATK
src/PRO1/Player.java
1,180
// Wykonaj tymczasowy ruch
line_comment
pl
package PRO1; import java.util.List; public class Player { private final boolean isWhite; private final String name; public Color color; public Player(boolean isWhite, String name) { this.isWhite = isWhite; this.color = (isWhite) ? Color.WHITE : Color.BLACK; this.name = name; ...
29042_7
package PRO1; import java.util.List; public class Player { private final boolean isWhite; private final String name; public Color color; public Player(boolean isWhite, String name) { this.isWhite = isWhite; this.color = (isWhite) ? Color.WHITE : Color.BLACK; this.name = name; ...
kempikl/GUI-PJATK
src/PRO1/Player.java
1,180
// Sprawdź, czy król jest wciąż w szachu
line_comment
pl
package PRO1; import java.util.List; public class Player { private final boolean isWhite; private final String name; public Color color; public Player(boolean isWhite, String name) { this.isWhite = isWhite; this.color = (isWhite) ? Color.WHITE : Color.BLACK; this.name = name; ...
29042_8
package PRO1; import java.util.List; public class Player { private final boolean isWhite; private final String name; public Color color; public Player(boolean isWhite, String name) { this.isWhite = isWhite; this.color = (isWhite) ? Color.WHITE : Color.BLACK; this.name = name; ...
kempikl/GUI-PJATK
src/PRO1/Player.java
1,180
// Cofnij tymczasowy ruch
line_comment
pl
package PRO1; import java.util.List; public class Player { private final boolean isWhite; private final String name; public Color color; public Player(boolean isWhite, String name) { this.isWhite = isWhite; this.color = (isWhite) ? Color.WHITE : Color.BLACK; this.name = name; ...
29048_0
package application.langtonsant.entity; import application.langtonsant.Direction; import java.io.Serializable; /** * Klasa reprezentująca mrówke langtona poruszającą się po płaszczyźnie. */ public class Ant implements Serializable { private long serialVersionUID = 1L; /** * Ilość stworzonych instancj...
wukash-r/langant
src/application/langtonsant/entity/Ant.java
1,369
/** * Klasa reprezentująca mrówke langtona poruszającą się po płaszczyźnie. */
block_comment
pl
package application.langtonsant.entity; import application.langtonsant.Direction; import java.io.Serializable; /** * Klasa reprezentująca mrówke <SUF>*/ public class Ant implements Serializable { private long serialVersionUID = 1L; /** * Ilość stworzonych instancji klasy. */ private static in...
29048_1
package application.langtonsant.entity; import application.langtonsant.Direction; import java.io.Serializable; /** * Klasa reprezentująca mrówke langtona poruszającą się po płaszczyźnie. */ public class Ant implements Serializable { private long serialVersionUID = 1L; /** * Ilość stworzonych instancj...
wukash-r/langant
src/application/langtonsant/entity/Ant.java
1,369
/** * Ilość stworzonych instancji klasy. */
block_comment
pl
package application.langtonsant.entity; import application.langtonsant.Direction; import java.io.Serializable; /** * Klasa reprezentująca mrówke langtona poruszającą się po płaszczyźnie. */ public class Ant implements Serializable { private long serialVersionUID = 1L; /** * Ilość stworzonych instancj...
29048_2
package application.langtonsant.entity; import application.langtonsant.Direction; import java.io.Serializable; /** * Klasa reprezentująca mrówke langtona poruszającą się po płaszczyźnie. */ public class Ant implements Serializable { private long serialVersionUID = 1L; /** * Ilość stworzonych instancj...
wukash-r/langant
src/application/langtonsant/entity/Ant.java
1,369
/** * Numer identyfikacji instancji. */
block_comment
pl
package application.langtonsant.entity; import application.langtonsant.Direction; import java.io.Serializable; /** * Klasa reprezentująca mrówke langtona poruszającą się po płaszczyźnie. */ public class Ant implements Serializable { private long serialVersionUID = 1L; /** * Ilość stworzonych instancj...
29048_3
package application.langtonsant.entity; import application.langtonsant.Direction; import java.io.Serializable; /** * Klasa reprezentująca mrówke langtona poruszającą się po płaszczyźnie. */ public class Ant implements Serializable { private long serialVersionUID = 1L; /** * Ilość stworzonych instancj...
wukash-r/langant
src/application/langtonsant/entity/Ant.java
1,369
/** * Pozycja mrówki x na płaszczyźnie. */
block_comment
pl
package application.langtonsant.entity; import application.langtonsant.Direction; import java.io.Serializable; /** * Klasa reprezentująca mrówke langtona poruszającą się po płaszczyźnie. */ public class Ant implements Serializable { private long serialVersionUID = 1L; /** * Ilość stworzonych instancj...
29048_4
package application.langtonsant.entity; import application.langtonsant.Direction; import java.io.Serializable; /** * Klasa reprezentująca mrówke langtona poruszającą się po płaszczyźnie. */ public class Ant implements Serializable { private long serialVersionUID = 1L; /** * Ilość stworzonych instancj...
wukash-r/langant
src/application/langtonsant/entity/Ant.java
1,369
/** * Pozycja mrówki y na płaszczyźnie. */
block_comment
pl
package application.langtonsant.entity; import application.langtonsant.Direction; import java.io.Serializable; /** * Klasa reprezentująca mrówke langtona poruszającą się po płaszczyźnie. */ public class Ant implements Serializable { private long serialVersionUID = 1L; /** * Ilość stworzonych instancj...
29048_5
package application.langtonsant.entity; import application.langtonsant.Direction; import java.io.Serializable; /** * Klasa reprezentująca mrówke langtona poruszającą się po płaszczyźnie. */ public class Ant implements Serializable { private long serialVersionUID = 1L; /** * Ilość stworzonych instancj...
wukash-r/langant
src/application/langtonsant/entity/Ant.java
1,369
/** * Kierunek mrówki na płaszczyźnie. */
block_comment
pl
package application.langtonsant.entity; import application.langtonsant.Direction; import java.io.Serializable; /** * Klasa reprezentująca mrówke langtona poruszającą się po płaszczyźnie. */ public class Ant implements Serializable { private long serialVersionUID = 1L; /** * Ilość stworzonych instancj...
29048_6
package application.langtonsant.entity; import application.langtonsant.Direction; import java.io.Serializable; /** * Klasa reprezentująca mrówke langtona poruszającą się po płaszczyźnie. */ public class Ant implements Serializable { private long serialVersionUID = 1L; /** * Ilość stworzonych instancj...
wukash-r/langant
src/application/langtonsant/entity/Ant.java
1,369
/** * Definiuje czy mrówka jest aktywna. */
block_comment
pl
package application.langtonsant.entity; import application.langtonsant.Direction; import java.io.Serializable; /** * Klasa reprezentująca mrówke langtona poruszającą się po płaszczyźnie. */ public class Ant implements Serializable { private long serialVersionUID = 1L; /** * Ilość stworzonych instancj...