Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
javacc
0001-Generate-max.-one-deprecated-annotation-pe...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Generate-max.-one-deprecated-annotation-per-method.patch of Package javacc
From 4a9fc6a7992e8623956dee6c8cebd0b224968418 Mon Sep 17 00:00:00 2001 From: Zbynek Konecny <zbynek1729@gmail.com> Date: Wed, 20 Apr 2022 17:01:00 +0200 Subject: [PATCH 1/2] Generate max. one deprecated annotation per method --- .../resources/templates/gwt/SimpleCharStream.template | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/main/resources/templates/gwt/SimpleCharStream.template b/src/main/resources/templates/gwt/SimpleCharStream.template index 9c88437..a1de1e3 100644 --- a/src/main/resources/templates/gwt/SimpleCharStream.template +++ b/src/main/resources/templates/gwt/SimpleCharStream.template @@ -215,14 +215,13 @@ ${SUPPORT_CLASS_VISIBILITY_PUBLIC?public :}class SimpleCharStream return c; } -#if GENERATE_ANNOTATIONS - @Deprecated -#fi /** * @deprecated * @see #getEndColumn */ +#if GENERATE_ANNOTATIONS @Deprecated +#fi ${PREFIX}public int getColumn() { #if KEEP_LINE_COLUMN return bufcolumn[bufpos]; @@ -231,14 +230,13 @@ ${SUPPORT_CLASS_VISIBILITY_PUBLIC?public :}class SimpleCharStream #fi } -#if GENERATE_ANNOTATIONS - @Deprecated -#fi /** * @deprecated * @see #getEndLine */ +#if GENERATE_ANNOTATIONS @Deprecated +#fi ${PREFIX}public int getLine() { #if KEEP_LINE_COLUMN return bufline[bufpos]; -- 2.36.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor