Skip to content

Commit

Permalink
javadoc: fix more references
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrueckert committed Oct 28, 2023
1 parent cce1a8b commit 45e6571
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ protected void setupCelestialSystem() {
/**
* Cleans up all resources (similar to AutoCloseable)
*
* @throws Exception if something goes wrong
* @throws RuntimeException if something goes wrong
*/
public void close() throws RuntimeException {
CoreRegistry.setContext(null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@
public interface BindsManager {

/**
* The actual binds config. This reflects the current status from {@link #updateDefaultBinds(Context)}
* The actual binds config. This reflects the current status from {@link BindsManager#updateConfigWithDefaultBinds()}.
* and all further modifications like modifications in the user input settings.
* @return
*/
BindsConfig getBindsConfig();

/**
* The default bindings. This reflects the current status from {@link #updateDefaultBinds(Context)}.
* The default bindings. This reflects the current status from {@link BindsManager#updateConfigWithDefaultBinds()}.
* @return Returns the default bindings. Changes to this config modify the actual instance
* but become invalid the next time {@link #updateConfigWithDefaultBinds()} is called.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public void removeIdMapping() {
/**
* @param eventData
* @return The event described by the eventData
* @throws org.terasology.engine.persistence.typeHandling.DeserializationException if an error occurs when deserializing
* @throws DeserializationException if an error occurs when deserializing
*/
public Event deserialize(EntityData.Event eventData) {
Class<? extends Event> eventClass = getEventClass(eventData);
Expand Down Expand Up @@ -102,7 +102,7 @@ private Event deserializeOnto(Event targetEvent, EntityData.Event eventData, Eve
*
* @param event
* @return The serialized event
* @throws org.terasology.engine.persistence.typeHandling.SerializationException if an error occurs during serialization
* @throws DeserializationException if an error occurs during serialization
*/
public EntityData.Event serialize(Event event) {
EventMetadata<?> eventMetadata = eventLibrary.getMetadata(event.getClass());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
public interface CollisionShape {
/**
* Returns the axis-aligned bounding box ({@link AABBfc}) of the transformed shape.
* Returns the axis-aligned bounding box ({@link org.terasology.joml.geom.AABBfc}) of the transformed shape.
*
* @return The {@link AABBf} bounding the shape.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,6 @@ private String[] createCommand(String... arguments) {
* Sets the {@link UIButtonWebBrowser#url} value and sets
* {@link UIButtonWebBrowser#confirmed} to true if the given URL or Hostname is
* already trusted, otherwise confirmed is false.
*
* @throws MalformedURLException
*/
public UIButtonWebBrowser setUrl(String url) {
boolean trustedHostName = false;
Expand Down

0 comments on commit 45e6571

Please sign in to comment.