Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    static final private String DEFAULT_NAME = "argument";

    static private String processArgumentName(String name) {
        return (name == null || name.trim().isEmpty()) ? DEFAULT_NAME : name;
    }
}