PILLUTLAAVINASH / google-enterprise-connector-manager

Automatically exported from code.google.com/p/google-enterprise-connector-manager
0 stars 0 forks source link

Add a toString method to SimpleValue. #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Log or print a SimpleValue instance.

What is the expected output? What do you see instead?

SimpleValue doesn't override the toString method, so you get the default
"com.google.enterprise.connector.spi.SimpleValue@1174b07". It would be nice
for logging or debugging to produce something more friendly. In another
Value implementation, I'm using the following:

        public String toString() {
            try {
                return getString();
            } catch (RepositoryException e) {
                return e.toString();
            }
        }

Please use labels and text to provide additional information.

Original issue reported on code.google.com by jl1615@gmail.com on 25 Feb 2007 at 1:24

GoogleCodeExporter commented 8 years ago
Google Buganizer #642604

Original comment by vjo...@gmail.com on 26 Feb 2007 at 4:17

GoogleCodeExporter commented 8 years ago
Fixed in R282

Original comment by donald.z...@gmail.com on 27 Apr 2007 at 3:15

GoogleCodeExporter commented 8 years ago

Original comment by mgron...@gmail.com on 3 Oct 2007 at 11:02