chore: add periods to all sentences.
This commit is contained in:
parent
6d2a180fa2
commit
ea840f032e
4 changed files with 14 additions and 14 deletions
|
|
@ -212,7 +212,7 @@ public class FoodpalApplicationCtrl implements LocaleAware {
|
|||
alert.showAndWait();
|
||||
}
|
||||
/**
|
||||
* Adds a recipe, by providing a default name "Untitled recipe (n)"
|
||||
* Adds a recipe, by providing a default name "Untitled recipe (n)".
|
||||
* The UX flow is now:
|
||||
* <ol>
|
||||
* <li>User creates an untitled recipe</li>
|
||||
|
|
@ -263,8 +263,8 @@ public class FoodpalApplicationCtrl implements LocaleAware {
|
|||
}
|
||||
|
||||
/**
|
||||
* Revised edit recipe control flow, deprecates the use of a separate AddNameCtrl
|
||||
* This is automagically called when a new recipe is created, making for a more seamless UX
|
||||
* Revised edit recipe control flow, deprecates the use of a separate AddNameCtrl.
|
||||
* This is automagically called when a new recipe is created, making for a more seamless UX.
|
||||
*/
|
||||
@FXML
|
||||
private void editRecipeTitle() {
|
||||
|
|
@ -310,7 +310,7 @@ public class FoodpalApplicationCtrl implements LocaleAware {
|
|||
}
|
||||
|
||||
/**
|
||||
* Clones a recipe, when clicking on the button "clone"
|
||||
* Clones a recipe, when clicking on the button "clone".
|
||||
*/
|
||||
public void cloneRecipe() throws IOException, InterruptedException {
|
||||
Recipe selected = recipeList.getSelectionModel().getSelectedItem();
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ public class ServerUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets all the recipes from the backend
|
||||
* Gets all the recipes from the backend.
|
||||
* @return a JSON string with all the recipes
|
||||
*/
|
||||
public List<Recipe> getRecipes() throws IOException, InterruptedException {
|
||||
|
|
@ -51,7 +51,7 @@ public class ServerUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets a single recipe based on its id
|
||||
* Gets a single recipe based on its id.
|
||||
* @param id every recipe has it's unique id
|
||||
* @return a singe recipe with the given id
|
||||
*/
|
||||
|
|
@ -70,7 +70,7 @@ public class ServerUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* Adds a recipe to the backend
|
||||
* Adds a recipe to the backend.
|
||||
* @param newRecipe the recipe to be added
|
||||
* @return a recipe
|
||||
*/
|
||||
|
|
@ -104,7 +104,7 @@ public class ServerUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* Deletes a recipe
|
||||
* Deletes a recipe.
|
||||
* @param id the recipe that get deleted
|
||||
*/
|
||||
public void deleteRecipe(long id) throws IOException, InterruptedException {
|
||||
|
|
@ -120,7 +120,7 @@ public class ServerUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* Clones a recipe
|
||||
* Clones a recipe.
|
||||
* @param id the id of the recipe to be cloned
|
||||
* @return a duplicated recipe of the given recipe
|
||||
*/
|
||||
|
|
@ -197,4 +197,4 @@ public class ServerUtils {
|
|||
|
||||
updateRecipe(recipe);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue