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 slash resourse. #141

Merged
merged 17 commits into from
Jan 29, 2019
Merged

Conversation

QilongZhang
Copy link
Contributor

No description provided.

@QilongZhang QilongZhang added the bug Something isn't working label Oct 13, 2018
@QilongZhang QilongZhang added this to the 0.6.0 milestone Oct 13, 2018
@QilongZhang
Copy link
Contributor Author

#140

@coveralls
Copy link

coveralls commented Oct 13, 2018

Pull Request Test Coverage Report for Build 524

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.1%) to 45.318%

Totals Coverage Status
Change from base Build 520: -0.1%
Covered Lines: 1297
Relevant Lines: 2862

💛 - Coveralls

@@ -270,7 +296,7 @@ public URL getResource(String name) {
* @return
*/
protected URL getExportResource(String resourceName) {
if (shouldFindExportedResource(resourceName)) {
if (!StringUtils.isEmpty(resourceName) && shouldFindExportedResource(resourceName)) {
Copy link
Member

Choose a reason for hiding this comment

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

There is another method getExportResources , it's better to add a default logic on shouldFindExportedResource

@straybirdzls straybirdzls merged commit 916c608 into sofastack:master Jan 29, 2019
@QilongZhang QilongZhang deleted the fix_slash_resourse branch February 22, 2019 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants