Skip to content

Commit

Permalink
wizard: javadoc and whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Aug 30, 2023
1 parent dab16c1 commit 60dd0dc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ class LoadScreen extends GuiScreenController {
/**
* Determine user feedback (if any) regarding the "next screen" action.
*
* @return "" if ready to proceed, otherwise an explanatory message
* @return an empty string if ready to proceed, otherwise an explanatory
* message
*/
static String feedback() {
Model model = DacWizard.getModel();
Expand Down
11 changes: 6 additions & 5 deletions DacWizard/src/main/java/jme3utilities/minie/wizard/Model.java
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,8 @@ void unload() {
/**
* Validate the loaded C-G model for use with DynamicAnimControl.
*
* @return a feedback message (not null, not empty) or "" if none
* @return a feedback message (not null, not empty) or an empty string if
* none
*/
String validationFeedback() {
if (rootSpatial == null) {
Expand Down Expand Up @@ -1384,15 +1385,15 @@ private DynamicAnimControl removeDac() {
private void updateAnimationNames() {
animationNames.clear();

List<AnimControl> animControls = MySpatial
.listControls(rootSpatial, AnimControl.class, null);
List<AnimControl> animControls
= MySpatial.listControls(rootSpatial, AnimControl.class, null);
for (AnimControl animControl : animControls) {
Collection<String> names = animControl.getAnimationNames();
animationNames.addAll(names);
}

List<AnimComposer> composers = MySpatial
.listControls(rootSpatial, AnimComposer.class, null);
List<AnimComposer> composers
= MySpatial.listControls(rootSpatial, AnimComposer.class, null);
for (AnimComposer composer : composers) {
Collection<String> names = composer.getAnimClipsNames();
animationNames.addAll(names);
Expand Down

0 comments on commit 60dd0dc

Please sign in to comment.