File tree 1 file changed +27
-0
lines changed
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -410,4 +410,31 @@ public boolean equals(Object obj) {
410
410
MarkerEntry other = (MarkerEntry ) obj ;
411
411
return Objects .equals (marker , other .marker );
412
412
}
413
+
414
+ @ Override
415
+ public String toString () {
416
+ StringBuilder builder = new StringBuilder ();
417
+ builder .append ("MarkerEntry [" ); //$NON-NLS-1$
418
+ if (category != null ) {
419
+ builder .append ("category=" ); //$NON-NLS-1$
420
+ builder .append (category );
421
+ builder .append (", " ); //$NON-NLS-1$
422
+ }
423
+ if (marker != null ) {
424
+ builder .append (marker );
425
+ builder .append (", " ); //$NON-NLS-1$
426
+ }
427
+ if (markerType != null ) {
428
+ builder .append ("markerType=" ); //$NON-NLS-1$
429
+ builder .append (markerType );
430
+ builder .append (", " ); //$NON-NLS-1$
431
+ }
432
+ if (markerTypeName != null ) {
433
+ builder .append ("markerTypeName=" ); //$NON-NLS-1$
434
+ builder .append (markerTypeName );
435
+ }
436
+ builder .append ("]" ); //$NON-NLS-1$
437
+ return builder .toString ();
438
+ }
439
+
413
440
}
You can’t perform that action at this time.
0 commit comments