blob: c76c88893c8e01ff177636f106af11468229ed7b [file] [log] [blame]
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
#
# Copyright 2010 Oracle and/or its affiliates. All rights reserved.
#
# Oracle and Java are registered trademarks of Oracle and/or its affiliates.
# Other names may be trademarks of their respective owners.
#
# The contents of this file are subject to the terms of either the GNU
# General Public License Version 2 only ("GPL") or the Common
# Development and Distribution License("CDDL") (collectively, the
# "License"). You may not use this file except in compliance with the
# License. You can obtain a copy of the License at
# http://www.netbeans.org/cddl-gplv2.html
# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
# specific language governing permissions and limitations under the
# License. When distributing the software, include this License Header
# Notice in each file and include the License file at
# nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the GPL Version 2 section of the License file that
# accompanied this code. If applicable, add the following below the
# License Header, with the fields enclosed by brackets [] replaced by
# your own identifying information:
# "Portions Copyrighted [year] [name of copyright owner]"
#
# If you wish your version of this file to be governed by only the CDDL
# or only the GPL Version 2, indicate your decision by adding
# "[Contributor] elects to include this software in this distribution
# under the [CDDL or GPL Version 2] license." If you do not indicate a
# single choice of license, a recipient has the option to distribute
# your version of this file under either the CDDL, the GPL Version 2 or
# to extend the choice of license to its licensees as provided above.
# However, if you add GPL Version 2 code and therefore, elected the GPL
# Version 2 license, then the option applies only if the new code is
# made subject to such option by the copyright holder.
#
# Contributor(s):
#
# Portions Copyrighted 2010 Sun Microsystems, Inc.
DESC_CanBeFinal=\u041d\u0430\u0445\u043e\u0434\u0438\u0442 \u043f\u043e\u043b\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0441\u0432\u043e\u0438\u0442\u044c \u0441\u0442\u0430\u0442\u0443\u0441 \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0445. \u042d\u0442\u043e \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u0442 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044e \u0438 \u043f\u043e\u0432\u044b\u0448\u0430\u0435\u0442 \u044f\u0441\u043d\u043e\u0441\u0442\u044c
DN_CanBeFinal=\u041f\u043e\u043b\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u043c
DN_org.netbeans.modules.java.hints.threading.Tiny.notifyOnCondition=\u0412\u044b\u0437\u043e\u0432 Condition.notify()
DESC_org.netbeans.modules.java.hints.threading.Tiny.notifyOnCondition=\u0412\u044b\u0437\u043e\u0432 notify \u0438\u043b\u0438 notifyAll \u0432 java.util.concurrent.locks.Condition, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430 signal \u0438\u043b\u0438 signalAll.
# {0} - the name of the field
ERR_CanBeFinal=\u041f\u043e\u043b\u0435 {0} \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u043c
#{0}: method name:
ERR_NotifyOnCondition=\u0412\u044b\u0437\u043e\u0432 {0} \u0432 java.util.concurrent.locks.Condition
ERR_UnlockOutsideTryFinally=Lock.lock() \u043d\u0435 \u0440\u0430\u0437\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d \u0432 \u0431\u043b\u043e\u043a\u0435 finally
# {0} - the name of the field to be made final
FIX_CanBeFinal=\u0421\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e\u043b\u0435 {0} \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u043c
FIX_MoveUnlockToFinally=\u041f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c unlock() \u0432 \u0431\u043b\u043e\u043a finally
FIX_NotifyOnConditionFix=\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430 \u0432\u044b\u0437\u043e\u0432 {0}
DN_org.netbeans.modules.java.hints.threading.Tiny.waitOnCondition=\u0412\u044b\u0437\u043e\u0432 Condition.wait()
DESC_org.netbeans.modules.java.hints.threading.Tiny.waitOnCondition=\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0432\u044b\u0437\u043e\u0432 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f java.util.concurrent.locks.Condition \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0435\u043f\u0440\u0435\u0434\u043d\u0430\u043c\u0435\u0440\u0435\u043d\u043d\u044b\u043c.
ERR_WaitOnCondition=\u0412\u044b\u0437\u043e\u0432 wait \u0432 java.util.concurrent.locks.Condition.
DN_org.netbeans.modules.java.hints.threading.Tiny.threadRun=\u0412\u044b\u0437\u043e\u0432 Thread.run()
DESC_org.netbeans.modules.java.hints.threading.Tiny.threadRun=\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0432\u044b\u0437\u043e\u0432 run \u0432 java.lang.Thread, \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430 \u0432\u044b\u0437\u043e\u0432 \u043c\u0435\u0442\u043e\u0434\u0430 start()
ERR_ThreadRun=\u0412\u044b\u0437\u043e\u0432 run() \u0432 java.lang.Thread
FIX_RemoveRedundantUnlock=\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 unlock()
FIX_ThreadRun=\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430 Thread.start()
DN_org.netbeans.modules.java.hints.threading.Tiny.threadStartInConstructor=\u0417\u0430\u043f\u0443\u0441\u043a \u043f\u043e\u0442\u043e\u043a\u0430 \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0435
DESC_org.netbeans.modules.java.hints.threading.Tiny.threadStartInConstructor=\u0417\u0430\u043f\u0443\u0441\u043a \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u043d\u0435\u043f\u0440\u0435\u0434\u0432\u0438\u0434\u0435\u043d\u043d\u044b\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c, \u0435\u0433\u043e \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0438\u0437\u0431\u0435\u0433\u0430\u0442\u044c.
ERR_ThreadStartInConstructor=\u0417\u0430\u043f\u0443\u0441\u043a \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0435
DN_org.netbeans.modules.java.hints.threading.Tiny.threadYield=\u0412\u044b\u0437\u043e\u0432 Thread.yield()
DESC_org.netbeans.modules.java.hints.threading.Tiny.threadYield=\u0412\u044b\u0437\u043e\u0432 \u043c\u0435\u0442\u043e\u0434\u0430 yield() \u0432 java.lang.Thread \u043e\u0431\u044b\u0447\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043c\u0430\u0441\u043a\u0438\u0440\u043e\u0432\u043a\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u0438, \u0435\u0433\u043e \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0438\u0437\u0431\u0435\u0433\u0430\u0442\u044c.
ERR_ThreadYield=\u0412\u044b\u0437\u043e\u0432 yield() \u043d\u0430 java.lang.Thread
DN_org.netbeans.modules.java.hints.threading.Tiny.threadSuspend=\u0412\u044b\u0437\u043e\u0432 Thread.stop()/suspend()/resume()
DESC_org.netbeans.modules.java.hints.threading.Tiny.threadSuspend=\u041c\u0435\u0442\u043e\u0434\u044b stop(), suspend() \u0438 resume() java.lang.Thread \u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u043d\u0435\u043f\u0440\u0435\u0434\u0432\u0438\u0434\u0435\u043d\u043d\u044b\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c \u0438 \u0438\u0445 \u043d\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c.
#{0}: method name (stop, suspend, resume):
ERR_ThreadSuspend=\u0412\u044b\u0437\u043e\u0432 {0} \u0432 java.lang.Thread
DN_org.netbeans.modules.java.hints.threading.Tiny.nestedSynchronized=\u0412\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0431\u043b\u043e\u043a\u0438
DESC_org.netbeans.modules.java.hints.threading.Tiny.nestedSynchronized=\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0431\u043b\u043e\u043a\u043e\u0432 \u043d\u0435 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a \u0436\u0435\u043b\u0430\u0435\u043c\u043e\u043c\u0443 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0443 (\u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043e\u0434\u0438\u043d \u043e\u0431\u044a\u0435\u043a\u0442 \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438 (lock)) \u0438\u043b\u0438 \u043e\u043f\u0430\u0441\u043d\u043e.
ERR_NestedSynchronized=\u0412\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0431\u043b\u043e\u043a\u0438
DN_org.netbeans.modules.java.hints.threading.Tiny.emptySynchronized=\u041f\u0443\u0441\u0442\u043e\u0439 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0431\u043b\u043e\u043a
DESC_org.netbeans.modules.java.hints.threading.Tiny.emptySynchronized=\u041f\u0443\u0441\u0442\u043e\u0439 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0431\u043b\u043e\u043a \u043e\u0431\u044b\u0447\u043d\u043e \u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u0435\u043d
ERR_EmptySynchronized=\u041f\u0443\u0441\u0442\u043e\u0439 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0431\u043b\u043e\u043a
DN_org.netbeans.modules.java.hints.threading.Tiny.synchronizedOnLock=\u0421\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u043e Lock
DESC_org.netbeans.modules.java.hints.threading.Tiny.synchronizedOnLock=\u0421\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u043e java.util.concurrent.locks.Lock, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u043d\u0435\u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u0430 \u0438 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u0430 \u043d\u0430 Lock.lock()-Lock.unlock()
ERR_SynchronizedOnLock=\u0421\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u043e java.util.concurrent.locks.Lock
FIX_SynchronizedOnLock=\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430 Lock.lock()-Lock.unlock()
DN_org.netbeans.modules.java.hints.threading.Tiny.volatileArray=\u041d\u0435\u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0435 \u043f\u043e\u043b\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u0430
DESC_org.netbeans.modules.java.hints.threading.Tiny.volatileArray=\u041f\u043e\u0438\u0441\u043a \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0439 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u043b\u0435\u0439 \u043c\u0430\u0441\u0441\u0438\u0432\u0430.
ERR_VolatileArrayField=\u041d\u0435\u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0435 \u043f\u043e\u043b\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u0430
DN_org.netbeans.modules.java.hints.threading.Tiny.unlockOutsideTryFinally=\u0411\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0430 \u043d\u0435 \u0441\u043d\u044f\u0442\u0430 \u0432 \u0431\u043b\u043e\u043a\u0435 finally
DESC_org.netbeans.modules.java.hints.threading.Tiny.unlockOutsideTryFinally=\u041f\u043e\u0438\u0441\u043a Lock.lock()-Lock.unlock(), \u043d\u0435 \u0443\u043f\u0430\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0432 \u0431\u043b\u043e\u043a\u0438 try-finally.
DN_org.netbeans.modules.java.hints.threading.Tiny.unsyncWait=.wait \u0432\u044b\u0437\u0432\u0430\u043d \u0432\u043d\u0435 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430
DESC_org.netbeans.modules.java.hints.threading.Tiny.unsyncWait=.wait \u0432\u044b\u0437\u0432\u0430\u043d \u0432\u043d\u0435 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430
ERR_UnsyncedWait=\u0412\u044b\u0437\u043e\u0432 Object.wait \u0432\u043d\u0435 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430
DN_org.netbeans.modules.java.hints.threading.Tiny.unsyncNotify=\u041c\u0435\u0442\u043e\u0434 .notify \u0432\u044b\u0437\u0432\u0430\u043d \u0432\u043d\u0435 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430
DESC_org.netbeans.modules.java.hints.threading.Tiny.unsyncNotify=\u041c\u0435\u0442\u043e\u0434 .notify \u0432\u044b\u0437\u0432\u0430\u043d \u0432\u043d\u0435 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430
ERR_UnsyncedNotify=\u0412\u044b\u0437\u043e\u0432 Object.notify \u0432\u043d\u0435 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430
DN_org.netbeans.modules.java.hints.threading.Tiny.sleepInSync=Thread.sleep \u0432 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435
DESC_org.netbeans.modules.java.hints.threading.Tiny.sleepInSync=\u0412\u044b\u0437\u043e\u0432 Thread.sleep \u0432 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438
ERR_SleepInSync=Thread.sleep \u0432\u044b\u0437\u0432\u0430\u043d \u0432 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435
DN_org.netbeans.modules.java.hints.threading.Tiny.sleepInLoop=Thread.sleep \u0432 \u0446\u0438\u043a\u043b\u0435
DESC_org.netbeans.modules.java.hints.threading.Tiny.sleepInLoop=\u0412\u044b\u0437\u043e\u0432 Thread.sleep \u0432 \u0446\u0438\u043a\u043b\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438
ERR_SleepInLoop=Thread.sleep \u0432\u044b\u0437\u0432\u0430\u043d \u0432 \u0446\u0438\u043a\u043b\u0435
FIX_UnlockOutsideTryFinally=\u0423\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c \u0432 try-finally
MSG_ExtraUnlock=\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 unlock(); \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0430 \u0443\u0436\u0435 \u0441\u043d\u044f\u0442\u0430 \u0432 \u0431\u043b\u043e\u043a\u0435 finally