Coder Trainee
Author

Coder Trainee

Experienced in Java and Python, we share and learn together. For submissions or collaborations, DM us.

98
Articles
0
Likes
0
Views
0
Comments
Recent Articles

Latest from Coder Trainee

98 recent articles
Coder Trainee
Coder Trainee
Mar 3, 2026 · Fundamentals

Common Pitfalls When Using Java List Collections

The article explains three typical traps when working with Java List: Arrays.asList returns a fixed‑size list that throws UnsupportedOperationException on add/remove, iterating and removing elements directly also fails, and converting primitive arrays with Arrays.asList produces an unexpected single‑element list.

Arrays.asListCollectionsJava
0 likes · 4 min read
Common Pitfalls When Using Java List Collections
Coder Trainee
Coder Trainee
Mar 1, 2026 · Backend Development

Using Java Optional to Eliminate NullPointerException

The article explains how Java 8's Optional class can prevent NullPointerException by introducing common methods such as empty, of, isPresent, orElse, orElseGet, and orElseThrow, and demonstrates their usage with a complete code example and its output.

functional programmingjava8nullpointerexception
0 likes · 4 min read
Using Java Optional to Eliminate NullPointerException
Coder Trainee
Coder Trainee
Feb 28, 2026 · Operations

Common Jenkins Errors and Step-by-Step Fixes

This guide lists frequent Jenkins problems such as missing libXrender.so.1 and SSH transferring zero files, explains why they occur, and provides exact yum commands, path-adjustment tips, and shell-parameter checks to resolve them.

CI/CDJenkinsSSH
0 likes · 4 min read
Common Jenkins Errors and Step-by-Step Fixes
Coder Trainee
Coder Trainee
Feb 28, 2026 · Frontend Development

Automating Front‑End Deployment with Jenkins and Yarn

This guide walks through installing Node plugins in Jenkins, configuring a NodeJS tool, creating a freestyle project, discarding old builds, setting up Git source, defining the build environment, running Yarn commands to compile the front‑end, and deploying the artifacts via SSH with a custom script.

CI/CDFront-end AutomationJenkins
0 likes · 4 min read
Automating Front‑End Deployment with Jenkins and Yarn
Coder Trainee
Coder Trainee
Feb 26, 2026 · Backend Development

Understanding the Detailed Usage of @Nullable Annotation

This article explains how the @Nullable annotation can be applied to methods, fields, and parameters in Java, provides concrete code examples for each case, and shows a real‑world usage from Spring's StringUtils utility.

@NullableBackendJava
0 likes · 4 min read
Understanding the Detailed Usage of @Nullable Annotation
Coder Trainee
Coder Trainee
Feb 20, 2026 · Backend Development

Why Lombok-generated getters cause JSON fields to become lowercase

The article explains how Lombok’s @Data annotation generates getter and setter methods with a lowercase first letter for camel‑case fields, causing Jackson to serialize JSON property names in all lowercase, and offers three fixes: write methods manually, use @JsonProperty, or rename fields to avoid lower‑upper patterns.

JSONJacksonJava
0 likes · 4 min read
Why Lombok-generated getters cause JSON fields to become lowercase
Coder Trainee
Coder Trainee
Feb 19, 2026 · Fundamentals

Why Switch from UUID to ULID? Exploring Benefits and Features

The article explains why developers are moving from UUID to ULID, detailing ULID’s 128‑bit compatibility, massive per‑millisecond uniqueness, lexicographic sorting, compact 26‑character Base32 encoding, timestamp integration, strong randomness, and practical use cases such as distributed systems and database sharding.

Base32Distributed SystemsULID
0 likes · 3 min read
Why Switch from UUID to ULID? Exploring Benefits and Features