mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Added @noreference tag to logging methods.
This commit is contained in:
parent
c9909363f9
commit
a9f9839cc9
1 changed files with 9 additions and 0 deletions
|
@ -312,14 +312,23 @@ public class CUIPlugin extends AbstractUIPlugin {
|
|||
return fgCPlugin;
|
||||
}
|
||||
|
||||
/**
|
||||
* @noreference This method is not intended to be referenced by clients.
|
||||
*/
|
||||
public static void log(Throwable e) {
|
||||
log("Error", e); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
/**
|
||||
* @noreference This method is not intended to be referenced by clients.
|
||||
*/
|
||||
public static void log(String message, Throwable e) {
|
||||
log(createErrorStatus(message, e));
|
||||
}
|
||||
|
||||
/**
|
||||
* @noreference This method is not intended to be referenced by clients.
|
||||
*/
|
||||
public static void log(IStatus status) {
|
||||
getDefault().getLog().log(status);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue