Skip to content

Commit

Permalink
8228867: Fix mistakes in FX API docs
Browse files Browse the repository at this point in the history
Reviewed-by: jvos, kcr
  • Loading branch information
nlisker committed Feb 19, 2020
1 parent a4b9f24 commit 35a01ca
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -576,7 +576,7 @@ public static <T> boolean replaceAll(ObservableList<T> list, T oldVal, T newVal)
}

/**
* Reverse the order in the list
* Reverses the order in the list.
* Fires only <b>one</b> change notification on the list.
* @param list the list to be reversed
* @see Collections#reverse(java.util.List)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ public final ReadOnlyObjectProperty<Duration> cycleDurationProperty() {

/**
* Read-only variable to indicate the total duration of this
* {@code Animation}, including repeats. A {@code Animation} with a {@code cycleCount}
* {@code Animation}, including repeats. An {@code Animation} with a {@code cycleCount}
* of {@code Animation.INDEFINITE} will have a {@code totalDuration} of
* {@code Duration.INDEFINITE}.
*
Expand Down Expand Up @@ -961,7 +961,7 @@ public void playFromStart() {

/**
* Stops the animation and resets the play head to its initial position. If
* the animation is not currently running, this method has no effect.
* the animation is already stopped, this method has no effect.
* <p>
* Note: <ul>
* <li>{@code stop()} is an asynchronous call, the {@code Animation} may not stop
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -175,7 +175,7 @@ public static void requestNextPulse() {

/**
* Returns true if the calling thread is the JavaFX Application Thread.
* Use this call the ensure that a given task is being executed
* Use this call to ensure that a given task is being executed
* (or not being executed) on the JavaFX Application Thread.
*
* @return true if running on the JavaFX Application Thread
Expand Down
4 changes: 2 additions & 2 deletions modules/javafx.graphics/src/main/java/javafx/scene/Node.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -1566,7 +1566,7 @@ public final Node getClip() {
}

/**
* Specifies a {@code Node} to use to define the the clipping shape for this
* Specifies a {@code Node} to use to define the clipping shape for this
* Node. This clipping Node is not a child of this {@code Node} in the scene
* graph sense. Rather, it is used to define the clip for this {@code Node}.
* <p>
Expand Down
4 changes: 2 additions & 2 deletions modules/javafx.graphics/src/main/native-glass/win/OleUtils.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -227,7 +227,7 @@ inline HRESULT checkJavaException(JNIEnv *env)
s_jcidThrowable_getMessage
));
if(jsMessage){
STRACE1(_T("Java Messsge:%s"), (LPCWSTR)JString(env, jsMessage) );
STRACE1(_T("Java Message:%s"), (LPCWSTR)JString(env, jsMessage) );
}
env->ExceptionDescribe();
}
Expand Down

0 comments on commit 35a01ca

Please sign in to comment.