Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wrong call depth in TomcatService.forCurrentClassPath() #76

Merged
merged 1 commit into from
Dec 22, 2015

Conversation

trustin
Copy link
Member

@trustin trustin commented Dec 22, 2015

Motivation:

When a user calls TomcatService.forCurrentClassPath(), the caller class
is determined to be TomcatService instead of the actual caller class.

Modification:

Increase the call depth parameter from 2 to 3

Result:

TomcatService.forCurrentClassPath() works as expected.

@trustin trustin added the defect label Dec 22, 2015
@trustin trustin added this to the 0.6.4.Final milestone Dec 22, 2015
Motivation:

When a user calls TomcatService.forCurrentClassPath(), the caller class
is determined to be TomcatService instead of the actual caller class.

Modification:

Increase the call depth parameter from 2 to 3

Result:

TomcatService.forCurrentClassPath() works as expected.
@delegacy
Copy link
Contributor

Thanks. LGTM.

delegacy added a commit that referenced this pull request Dec 22, 2015
Fix wrong call depth in TomcatService.forCurrentClassPath()
@delegacy delegacy merged commit cb3b070 into line:master Dec 22, 2015
@trustin trustin deleted the fix_wrong_calldepth branch December 22, 2015 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants