Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Rename variables used for @Trace to avoid name collisions#1893

Merged
WonderCsabo merged 1 commit into
developandroidannotations/androidannotations:developfrom
1891_rename_local_trace_variablesandroidannotations/androidannotations:1891_rename_local_trace_variablesCopy head branch name to clipboard
Nov 24, 2016
Merged

Rename variables used for @Trace to avoid name collisions#1893
WonderCsabo merged 1 commit into
developandroidannotations/androidannotations:developfrom
1891_rename_local_trace_variablesandroidannotations/androidannotations:1891_rename_local_trace_variablesCopy head branch name to clipboard

Conversation

@dodgex

@dodgex dodgex commented Nov 12, 2016

Copy link
Copy Markdown
Member
  • prefix variables with trace
  • postifx variables with underscore

see #1891

logEnterInvoke.arg(getEnterMessage(method, executableElement));
thenBody.add(logEnterInvoke);
JVar startDeclaration = thenBody.decl(getCodeModel().LONG, "start", currentTimeInvoke);
JVar startDeclaration = thenBody.decl(getCodeModel().LONG, "traceStart_", currentTimeInvoke);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should use GENERATION_SUFFIX instead of hardcoding the underscore into every string.

- prefix variables with trace
- postifx variables with underscore
@dodgex dodgex force-pushed the 1891_rename_local_trace_variables branch from eed6f8a to ec27672 Compare November 23, 2016 23:08
@dodgex

dodgex commented Nov 23, 2016

Copy link
Copy Markdown
Member Author

updated

@dodgex

dodgex commented Nov 23, 2016

Copy link
Copy Markdown
Member Author

I think we should not merge until we know what happened with #1905

@WonderCsabo WonderCsabo merged commit 0e90171 into develop Nov 24, 2016
@WonderCsabo WonderCsabo deleted the 1891_rename_local_trace_variables branch November 24, 2016 21:28
@WonderCsabo WonderCsabo added this to the 4.2 milestone Nov 24, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.