01:////////////////////////////////////////////////////////////////////////////////
02:// Test case file for checkstyle.
03:// Created: 2001
04:////////////////////////////////////////////////////////////////////////////////
05:package com.puppycrawl.tools.checkstyle;
06:
07:import java.util.Properties;
08:
09:/**
10: * Test case for assert handling fallback.
11: * This file uses "assert" is as an identifier, so the default grammar
12: * fails and the JDK 1.3 grammar has to be used.
13: * @author Lars Kühne
14: **/
15:class InputAssertIdentifier
16:{
17: /** test method **/
18: void assert()
19: {
20: int assert = 1;
21: int a = assert;
22: final Properties p = null;
23: }
24:}
|