Java tutorial
//package com.java2s; //License from project: Open Source License import android.util.Log; public class Main { public static void log(String paramString, int paramInt) { Log.println(paramInt, "WLDroidGap", getMsgNotNull(paramString)); } private static String getMsgNotNull(String paramString) { if (paramString == null) paramString = "null"; return paramString; } }