Skip to content

Instantly share code, notes, and snippets.

View pawellabaj's full-sized avatar

Paweł Łabaj pawellabaj

View GitHub Profile
{
"basics": {
"name": "Paweł Łabaj",
"label": "Java Software Engineer",
"picture": "",
"email": "pawel@labaj.com.pl",
"phone": "+48 604 092 079",
"url": "https://www.labaj.com.pl",
"summary": "Java Software Engineer with 20+ years building backend systems and business logic — from monoliths to microservices. Enjoying solving tough problems, mentoring teammates, and improving code quality. Creative, resourceful, and flexible, with the ability to adapt to changing priorities while maintaining a positive attitude and strong work ethic. Excellent interpersonal skills and effective communication abilities.",
"location": {
@pawellabaj
pawellabaj / OrderedSetTest.java
Last active June 21, 2023 12:14
Without looking into a documentation, will the test pass or fail?
import org.junit.jupiter.api.Test;
import java.util.LinkedHashSet;
import java.util.Set;
import static org.assertj.core.api.Assertions.assertThat;
class OrderSetTest {
@Test
void orderInSetShouldNotBeLost() {
@pawellabaj
pawellabaj / Full.java
Last active July 20, 2023 19:11
Example of generated record with all features provided by AutoRecord
import io.soabase.recordbuilder.core.RecordBuilder;
import pl.com.labaj.autorecord.AutoRecord;
import pl.com.labaj.autorecord.Ignored;
import pl.com.labaj.autorecord.Memoized;
import pl.com.labaj.autorecord.extension.compact.LoggingExtension;
import javax.annotation.Nullable;
import java.util.List;
import java.util.Map;
import java.util.function.Supplier;