Группа :: Разработка/Java
Пакет: rachota
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: doclint.patch
Скачать
Скачать
diff -Naur rachota/src/org/cesilko/rachota/core/Translator.java myrachota/src/org/cesilko/rachota/core/Translator.java
--- rachota/src/org/cesilko/rachota/core/Translator.java 2010-07-28 20:10:46.000000000 +0200
+++ myrachota/src/org/cesilko/rachota/core/Translator.java 2016-01-03 20:43:33.896998286 +0100
@@ -138,9 +138,9 @@
}
/** Returns translation of given word in default language. If required
- * removes all & chars in addition.
+ * removes all & chars in addition.
* @param word Word to be translated.
- * @param removeAnds Whether & chars should be removed.
+ * @param removeAnds Whether & chars should be removed.
* @return Translation of given word in default language.
*/
private static String getTranslation(String word, boolean removeAnds) {
@@ -151,9 +151,9 @@
return translation;
}
- /** Removes the & characters in the provided string.
- * @param word The string to remove & characters in.
- * @return the provided string without any & characters.
+ /** Removes the & characters in the provided string.
+ * @param word The string to remove & characters in.
+ * @return the provided string without any & characters.
*/
private static String removeAnds(String word){
return Tools.replaceAll(word, "&", "");
@@ -182,10 +182,10 @@
}
/** Returns mnemonic char found in translated word. As the mnemonic is considered
- * the character after & char. If & is not found in the translation, invisible
+ * the character after & char. If & is not found in the translation, invisible
* character is returned.
* @param word Word to be translated and where mnemonic char will be searched for.
- * @return Mnemonic i.e. character right after first occurence of & character in
+ * @return Mnemonic i.e. character right after first occurence of & character in
* the translated word.
*/
public static char getMnemonic(String word) {
diff -Naur rachota/src/org/cesilko/rachota/gui/AdjustTimeDialog.java myrachota/src/org/cesilko/rachota/gui/AdjustTimeDialog.java
--- rachota/src/org/cesilko/rachota/gui/AdjustTimeDialog.java 2010-07-28 20:05:11.000000000 +0200
+++ myrachota/src/org/cesilko/rachota/gui/AdjustTimeDialog.java 2016-01-03 20:55:24.480404994 +0100
@@ -37,7 +37,7 @@
/** Creates new dialog for time selection and presets hours and minutes
* @param parent Parent window that invoked this dialog.
- * @parent title String that should be used as a title of this dialog.
+ * @param title String that should be used as a title of this dialog.
* @param task Source task whose time will be preset in the dialog.
*/
public AdjustTimeDialog(Frame parent, String title, Task task) {
@@ -52,7 +52,7 @@
/** Creates new dialog for time selection and presets hours and minutes
* @param parent Parent window that invoked this dialog.
- * @parent title String that should be used as a title of this dialog.
+ * @param title String that should be used as a title of this dialog.
* @param hours Number of hours to be preset in the dialog.
* @param minutes Number of minutes to be preset in the dialog.
*/
@@ -64,7 +64,7 @@
/** Creates new dialog for time selection.
* @param parent Parent window that invoked this dialog.
- * @parent title String that should be used as a title of this dialog.
+ * @param title String that should be used as a title of this dialog.
*/
public AdjustTimeDialog(Frame parent, String title) {
setTitle(title);
diff -Naur rachota/src/org/cesilko/rachota/gui/DayTableModel.java myrachota/src/org/cesilko/rachota/gui/DayTableModel.java
--- rachota/src/org/cesilko/rachota/gui/DayTableModel.java 2009-09-04 21:45:43.000000000 +0200
+++ myrachota/src/org/cesilko/rachota/gui/DayTableModel.java 2016-01-03 20:39:15.733670694 +0100
@@ -272,7 +272,7 @@
/**
- * Changes sorting order (ascending <-> descending) for given column.
+ * Changes sorting order (ascending <-> descending) for given column.
* @param column Visible column number.
* @param changeOrder True if sorting order should be changed.
*/
@@ -354,4 +354,4 @@
public String getSortedOrder() {
return sortedAscending ? "+" : "-";
}
-}
\ Pas de fin de ligne ц═ la fin du fichier
+}