Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Aligned javadoc with what code actually does (#2965)

Eric Bariaux1a7960e848b8
diff --git a/model/src/main/java/org/openremote/model/console/ConsoleResource.java b/model/src/main/java/org/openremote/model/console/ConsoleResource.java
index d86ac06e5..65c11fa37 100644
--- a/model/src/main/java/org/openremote/model/console/ConsoleResource.java
+++ b/model/src/main/java/org/openremote/model/console/ConsoleResource.java
@@ -44,8 +44,9 @@ public interface ConsoleResource {
* stored in the appropriate {@link ConsoleAsset} {@link Attribute}s.
* <p>
* This is a public endpoint and allows the registration of consoles anonymously; if there is an authenticated user
- * registering the console then the console asset will be linked to that user. If multiple users login on the same
- * console then it will be associated with each user (i.e. a 1-many relationship).
+ * registering the console then the console asset will be linked to that user.
+ * If it was previously linked to another user, that link is removed first.
+ * A console is linked to at most one user, the last one that performed a registration.
*/
@POST
@Path("register")