Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

Modify JStormUtils.java #449

Closed
wants to merge 1 commit into from
Closed

Modify JStormUtils.java #449

wants to merge 1 commit into from

Conversation

Allianzcortex
Copy link

modify jstorm-core/src/main/java/com/alibaba/jstorm/utils/JStormUtils.java.I'm not sure which is better,and base one the DRY(Don't Repeat Yourself Principle),This can be considered.(although this method seems never used?always use public static String getErrorInfo(Throwable error)

modify jstorm-core/src/main/java/com/alibaba/jstorm/utils/JStormUtils.java.I'm not sure which is better,and base one the **DRY**(Don't Repeat Yourself Principle),This can be considered.(although this method seems never used?always use `public static String getErrorInfo(Throwable error)`
@Allianzcortex
Copy link
Author

Throwable includes Exception,so the code can execute:-D

@unsleepy22
Copy link
Contributor

this method is never used, should be deleted

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