Skip to content

Conversation

@senderic
Copy link

Created a detailed toString function to augment the default toString - ensuring the regular toString() function is not performing parsing tasks and gives the user the basic PID information only.

If the user desires a detailed toString, they can use toStringDetailed()

Feel free to pick this apart or change my strategy. I'm not sure if the String.format function also is slower than using the ".." + ".." style of string concatenation which is employed now in the code. I just find the printf style to be more readable.

Created a detailed toString function to augment the default toString - ensuring the regular `toString()` function is not performing parsing tasks and gives the user the basic PID information only. 

If the user desires a detailed toString, they can use `toStringDetailed()`

Feel free to pick this apart or change my strategy. I'm not sure if the `String.format` function also is slower than using the `".." + ".."` style of string concatenation which is employed now in the code. I just find the printf style to be more readable.
Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

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

Some Javadoc could be usefil, but fine with me. Note that the new method may throw WinpException

@oleg-nenashev oleg-nenashev self-assigned this Jul 14, 2018
@oleg-nenashev
Copy link
Member

Will get it landed in the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants