This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
public class HelloWorld { | |
public static final Integer a = 104; | |
private volatile static Object ob = "o"; | |
public static void good() { | |
class NiceInnerClass { public NiceInnerClass(){System.out.print('e'); abstract class xx {}}} | |
Object object = new NiceInnerClass(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<targets> | |
<target name="coloredConsole" xsi:type="ColoredConsole" useDefaultRowHighlightingRules="false" | |
layout="${longdate}|${pad:padding=5:inner=${level:uppercase=true}}|${message}" > | |
<highlight-row condition="level == LogLevel.Debug" foregroundColor="DarkGray" /> | |
<highlight-row condition="level == LogLevel.Info" foregroundColor="Gray" /> | |
<highlight-row condition="level == LogLevel.Warn" foregroundColor="Yellow" /> |