From c5e88846c1961b9184a30192e7399dd17d6bcf4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Thu, 14 May 2020 15:13:03 +0200 Subject: [PATCH] Disposable: javadoc cleanup GitOrigin-RevId: 6c187ef3e5e6ff7fc6cbdf791836c90ddc3c8c8b --- .../util/src/com/intellij/openapi/Disposable.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/platform/util/src/com/intellij/openapi/Disposable.java b/platform/util/src/com/intellij/openapi/Disposable.java index 97f4ce417e26..c58bf9cde507 100644 --- a/platform/util/src/com/intellij/openapi/Disposable.java +++ b/platform/util/src/com/intellij/openapi/Disposable.java @@ -1,13 +1,15 @@ -// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi; /** * This class marks classes, which require some work done for cleaning up. - * As a general policy you shouldn't call the {@link #dispose} method directly, + *

+ * As a general policy, you shouldn't call the {@link #dispose()} method directly, * but register your object to be chained with a parent disposable via {@link com.intellij.openapi.util.Disposer#register(Disposable, Disposable)}. - * If you're 100% sure that you should control the disposal of your object manually, - * do not call the {@link #dispose} method either. Use {@link com.intellij.openapi.util.Disposer#dispose(Disposable)} instead, since - * there might be any object registered in chain. + *

+ * If you're 100% sure that you should control your object's disposal manually, + * do not call the {@link #dispose()} method either. Use {@link com.intellij.openapi.util.Disposer#dispose(Disposable)} instead, since + * there might be any object registered in the chain. */ public interface Disposable { /**