mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
toString method.
This commit is contained in:
parent
cc0d1ce4aa
commit
5d6f846caf
1 changed files with 8 additions and 0 deletions
|
@ -442,4 +442,12 @@ public class ShortString implements IString {
|
|||
}
|
||||
*/
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
try {
|
||||
return getString();
|
||||
} catch (CoreException e) {
|
||||
return super.toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue