Skip to content

Instantly share code, notes, and snippets.

View adryanev's full-sized avatar
📱
Mobile Developer

Adryan Eka Vandra adryanev

📱
Mobile Developer
View GitHub Profile
@adryanev
adryanev / host
Last active July 14, 2022 08:22
Plesk Trial License Update Automation
A00100-HS8A06-WV4P70-53M275-8RRN21
public final class Distance {
private static final float METERS_TO_INCHES_RATIO = 39.3701f;
private final float meters;
private Distance(float meters) {
if (meters < 0f) {
throw new InvalidDistanceException();
}
this.meters = meters;