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 { /**