-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing different eclipse warnings (missing comments, unused parameters, static constants access) (#1486) #1495
Fixing different eclipse warnings (missing comments, unused parameters, static constants access) (#1486) #1495
Conversation
static constants access) (eclipse-birt#1486)
.../org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/emitter/IPage.java
Show resolved
Hide resolved
@@ -195,10 +235,20 @@ public void newLine(boolean endParagraph) throws BirtException { | |||
} | |||
} | |||
|
|||
/** | |||
* Get the fre space |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will be done
import org.eclipse.birt.report.engine.layout.pdf.font.FontInfo; | ||
import org.w3c.dom.css.CSSValue; | ||
|
||
/** | ||
* Class to implements the text style |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, which typo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the s from implements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed
public int getWordSpacing() { | ||
return wordSpacing; | ||
} | ||
|
||
/** | ||
* Check if text is underlined |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the text
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will be done
/** | ||
* Check if text is underlined | ||
* | ||
* @return Return the check result |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will be done
public boolean isLinethrough() { | ||
return lineThrough; | ||
} | ||
|
||
/** | ||
* Check if the text is underlined |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
underlined or overlined?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will be changed to "overlined"
/** | ||
* Check if the text is underlined | ||
* | ||
* @return Return the check result |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check result?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will be done
/** | ||
* Get the text direction | ||
* | ||
* @return Return the text direction |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are the valid values?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't checked all at all normaly RTL and LTR
* Check if the text has a hyperlink | ||
* | ||
* @return Return the check result | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check result?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will be done
public boolean isHasHyperlink() { | ||
return hasHyperlink; | ||
} | ||
|
||
/** | ||
* Set the text use a hyperlink |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
non descriptive javadoc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will be changed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This change includes the fixing of different eclipse warnings: