remove usages of default file template; some related cleanup
authorMaas van den Berg <maasvdberg@gmail.com>
Mon, 28 Dec 2009 14:44:12 +0000 (17:44 +0300)
committerDmitry Jemerov <yole@jetbrains.com>
Mon, 28 Dec 2009 14:44:12 +0000 (17:44 +0300)
257 files changed:
RegExpSupport/src/org/intellij/lang/regexp/RegExpCompletionContributor.java
RegExpSupport/src/org/intellij/lang/regexp/RegExpDocumentationProvider.java
java/compiler/forms-compiler/src/com/intellij/uiDesigner/compiler/InsetsPropertyCodeGenerator.java
java/compiler/forms-compiler/testSrc/com/intellij/uiDesigner/core/GridBagConverterTest.java
java/debugger/impl/src/com/intellij/debugger/actions/EditFrameSourceAction.java
java/debugger/impl/src/com/intellij/debugger/actions/FreezeThreadAction.java
java/debugger/impl/src/com/intellij/debugger/actions/GotoFrameSourceAction.java
java/debugger/impl/src/com/intellij/debugger/actions/HotSwapAction.java
java/debugger/impl/src/com/intellij/debugger/engine/DebugProcessAdapterImpl.java
java/debugger/impl/src/com/intellij/debugger/engine/DebugProcessEvents.java
java/debugger/impl/src/com/intellij/debugger/engine/JVMName.java
java/debugger/impl/src/com/intellij/debugger/engine/PositionManagerImpl.java
java/debugger/impl/src/com/intellij/debugger/engine/RemoteStateState.java
java/debugger/impl/src/com/intellij/debugger/engine/SuspendContextImpl.java
java/debugger/impl/src/com/intellij/debugger/engine/SuspendManagerImpl.java
java/debugger/impl/src/com/intellij/debugger/engine/evaluation/EvaluateRuntimeException.java
java/debugger/impl/src/com/intellij/debugger/engine/evaluation/EvaluationListener.java
java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/AssignmentEvaluator.java
java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/BlockStatementEvaluator.java
java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/BreakContinueStatementEvaluator.java
java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/BreakException.java
java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/CodeFragmentEvaluator.java
java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/ContinueException.java
java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/ForStatementEvaluator.java
java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/IfStatementEvaluator.java
java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/MapStack.java [deleted file]
java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/PostfixOperationEvaluator.java
java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/SyntheticVariableEvaluator.java
java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/WhileStatementEvaluator.java
java/debugger/impl/src/com/intellij/debugger/engine/events/DebuggerCommandImpl.java
java/debugger/impl/src/com/intellij/debugger/impl/CloseWorkerThreadException.java [deleted file]
java/debugger/impl/src/com/intellij/debugger/impl/DebuggerTask.java
java/debugger/impl/src/com/intellij/debugger/impl/DebuggerTaskImpl.java
java/debugger/impl/src/com/intellij/debugger/impl/EventQueueClosedException.java
java/debugger/impl/src/com/intellij/debugger/impl/InvokeAndWaitThread.java
java/debugger/impl/src/com/intellij/debugger/impl/InvokeThread.java
java/debugger/impl/src/com/intellij/debugger/impl/ReloadClassesWorker.java
java/debugger/impl/src/com/intellij/debugger/ui/CompletedInputTextField.java [deleted file]
java/debugger/impl/src/com/intellij/debugger/ui/DebuggerEditorImpl.java
java/debugger/impl/src/com/intellij/debugger/ui/DebuggerStatementEditor.java
java/debugger/impl/src/com/intellij/debugger/ui/StatementEvaluationDialog.java
java/debugger/impl/src/com/intellij/debugger/ui/impl/TipManager.java
java/debugger/impl/src/com/intellij/debugger/ui/impl/watch/EvaluationDescriptor.java
java/debugger/openapi/src/com/intellij/debugger/DebuggerManager.java
java/debugger/openapi/src/com/intellij/debugger/engine/DebugProcess.java
java/debugger/openapi/src/com/intellij/debugger/engine/evaluation/EvaluateExceptionUtil.java
java/debugger/openapi/src/com/intellij/debugger/engine/jdi/VirtualMachineProxy.java
java/java-impl/src/com/intellij/codeInsight/ExpectedTypeInfo.java
java/java-impl/src/com/intellij/codeInsight/editorActions/smartEnter/MissingForeachBodyFixer.java
java/java-impl/src/com/intellij/codeInsight/hint/api/impls/AnnotationParameterInfoHandler.java
java/java-impl/src/com/intellij/codeInsight/hint/api/impls/ReferenceParameterInfoHandler.java
java/java-impl/src/com/intellij/codeInsight/template/impl/TextExpression.java
java/java-impl/src/com/intellij/javadoc/JavadocBundle.java
java/java-impl/src/com/intellij/lang/java/JavaDocumentationProvider.java
java/java-impl/src/com/intellij/lang/java/JavaLanguage.java
java/java-impl/src/com/intellij/lang/java/JavaParserDefinition.java
java/java-impl/src/com/intellij/psi/impl/source/codeStyle/ImportsFormatter.java
java/java-impl/src/com/intellij/psi/impl/source/javadoc/ValueDocTagInfo.java
java/java-impl/src/com/intellij/psi/impl/source/parsing/JavaParsingContext.java
java/java-impl/src/com/intellij/refactoring/typeCook/deductive/PsiExtendedTypeVisitor.java
java/java-impl/src/com/intellij/refactoring/typeCook/deductive/PsiTypeVariableFactory.java
java/java-impl/src/com/intellij/refactoring/typeCook/deductive/builder/Constraint.java
java/java-impl/src/com/intellij/refactoring/typeCook/deductive/builder/Subtype.java
java/java-impl/src/com/intellij/refactoring/typeCook/deductive/util/VictimCollector.java
java/java-impl/src/com/intellij/refactoring/typeCook/deductive/util/Visitor.java
java/java-tests/testSrc/com/intellij/codeInsight/completion/CustomFileTypeCompletionTest.java
java/java-tests/testSrc/com/intellij/codeInsight/completion/WordCompletionTest.java
java/jsp-base-openapi/src/com/intellij/lang/jsp/IBaseJspManager.java
java/jsp-base-openapi/src/com/intellij/lang/jsp/JspFileViewProvider.java
java/jsp-base-openapi/src/com/intellij/lang/jsp/JspxFileViewProvider.java
java/jsp-base-openapi/src/com/intellij/lexer/ELHostLexer.java
java/jsp-spi/src/com/intellij/jsp/impl/TldAttributeDescriptor.java
platform/lang-api/src/com/intellij/codeInsight/editorActions/smartEnter/SmartEnterProcessor.java
platform/lang-api/src/com/intellij/diagnostic/logging/IndependentLogFilter.java
platform/lang-api/src/com/intellij/execution/ExecutionBundle.java
platform/lang-api/src/com/intellij/pom/PomTransaction.java
platform/lang-api/src/com/intellij/pom/tree/events/TreeChange.java
platform/lang-api/src/com/intellij/pom/tree/events/TreeChangeEvent.java
platform/lang-api/src/com/intellij/psi/meta/PsiWritableMetaData.java
platform/lang-api/src/com/intellij/usageView/UsageViewBundle.java
platform/lang-api/src/com/intellij/util/CharTable.java
platform/lang-impl/src/com/intellij/application/options/colors/ColorSettingsUtil.java
platform/lang-impl/src/com/intellij/application/options/editor/EditorTabsConfigurable.java
platform/lang-impl/src/com/intellij/codeEditor/printing/CodeEditorBundle.java
platform/lang-impl/src/com/intellij/codeEditor/printing/HelpID.java
platform/lang-impl/src/com/intellij/codeInsight/completion/CompletionVariant.java
platform/lang-impl/src/com/intellij/codeInsight/completion/KeywordChooser.java
platform/lang-impl/src/com/intellij/codeInsight/completion/SyntaxTableCompletionData.java
platform/lang-impl/src/com/intellij/codeInsight/completion/actions/HippieWordCompletionHandler.java
platform/lang-impl/src/com/intellij/codeInsight/daemon/Validator.java
platform/lang-impl/src/com/intellij/codeInsight/folding/impl/CollapseSelectionHandler.java
platform/lang-impl/src/com/intellij/codeInsight/folding/impl/actions/CollapseSelectionAction.java
platform/lang-impl/src/com/intellij/codeInsight/lookup/DeferredUserLookupValue.java
platform/lang-impl/src/com/intellij/codeInsight/lookup/LookupValueWithPriority.java
platform/lang-impl/src/com/intellij/codeInsight/lookup/LookupValueWithPsiElement.java
platform/lang-impl/src/com/intellij/codeInsight/lookup/LookupValueWithUIHint.java
platform/lang-impl/src/com/intellij/codeInsight/lookup/PresentableLookupValue.java
platform/lang-impl/src/com/intellij/codeInsight/template/FileTypeBasedContextType.java
platform/lang-impl/src/com/intellij/codeInsight/template/impl/TemplateImplUtil.java
platform/lang-impl/src/com/intellij/find/FindBundle.java
platform/lang-impl/src/com/intellij/find/findUsages/CommonFindUsagesDialog.java
platform/lang-impl/src/com/intellij/formatting/AbstractBlockWrapper.java
platform/lang-impl/src/com/intellij/ide/highlighter/custom/impl/CustomFileTypeBraceMatcher.java
platform/lang-impl/src/com/intellij/ide/highlighter/custom/impl/CustomFileTypeQuoteHandler.java
platform/lang-impl/src/com/intellij/ide/highlighter/custom/tokens/BraceTokenParser.java
platform/lang-impl/src/com/intellij/ide/structureView/StructureViewWrapper.java
platform/lang-impl/src/com/intellij/lang/LangBundle.java
platform/lang-impl/src/com/intellij/pom/tree/events/impl/TreeChangeEventImpl.java
platform/lang-impl/src/com/intellij/psi/impl/source/codeStyle/AbstractPostFormatProcessor.java
platform/lang-impl/src/com/intellij/psi/impl/source/codeStyle/AffectedTextRange.java [deleted file]
platform/lang-impl/src/com/intellij/psi/impl/source/parsing/ParseUtilBase.java
platform/lang-impl/src/com/intellij/psi/impl/source/resolve/reference/impl/providers/CustomizingReferenceProvider.java
platform/lang-impl/src/com/intellij/tools/ToolsBundle.java
platform/platform-api/src/com/intellij/ide/AutoScrollToSourceOptionProvider.java
platform/platform-api/src/com/intellij/ide/IdeBundle.java
platform/platform-api/src/com/intellij/ide/actions/TreeCollapseAllActionBase.java
platform/platform-api/src/com/intellij/ide/actions/TreeExpandAllActionBase.java
platform/platform-api/src/com/intellij/ide/plugins/PluginManager.java
platform/platform-api/src/com/intellij/openapi/diff/DiffBundle.java
platform/platform-api/src/com/intellij/openapi/editor/EditorBundle.java
platform/platform-api/src/com/intellij/openapi/options/OptionsBundle.java
platform/platform-api/src/com/intellij/openapi/vcs/VcsBundle.java
platform/platform-api/src/com/intellij/openapi/vfs/VfsBundle.java
platform/platform-api/src/com/intellij/ui/ScrollPaneFactory.java
platform/platform-api/src/com/intellij/ui/UI.java
platform/platform-api/src/com/intellij/util/ui/AsyncProcessIcon.java
platform/platform-impl/src/com/intellij/codeInsight/hint/DocumentFragmentTooltipRenderer.java
platform/platform-impl/src/com/intellij/diagnostic/DiagnosticBundle.java
platform/platform-impl/src/com/intellij/ide/plugins/ActionInstallPlugin.java
platform/platform-impl/src/com/intellij/ide/plugins/ActionUninstallPlugin.java
platform/platform-impl/src/com/intellij/idea/Launcher.java
platform/platform-impl/src/com/intellij/openapi/editor/textarea/TextComponentEditor.java
platform/platform-impl/src/com/intellij/openapi/fileTypes/FileTypesBundle.java
platform/platform-impl/src/com/intellij/openapi/fileTypes/PlainTextLanguage.java
platform/platform-impl/src/com/intellij/openapi/progress/util/ProgressIndicatorListener.java
platform/platform-impl/src/com/intellij/openapi/progress/util/ProgressIndicatorListenerAdapter.java
platform/platform-impl/src/com/intellij/openapi/progress/util/ProgressWindowWithNotification.java
platform/platform-impl/src/com/intellij/openapi/updateSettings/impl/NoUpdatesDialog.java
platform/platform-impl/src/com/intellij/openapi/updateSettings/impl/UpdateSettingsConfigurable.java
platform/platform-impl/src/com/intellij/openapi/wm/impl/welcomeScreen/WelcomeScreen.java
platform/platform-impl/src/com/intellij/openapi/wm/impl/welcomeScreen/WelcomeScrollablePanel.java
platform/platform-impl/src/com/intellij/util/io/WriteableTIntObjectMapAdapter.java
platform/testFramework/src/com/intellij/testFramework/FileTreeAccessFilter.java
platform/testFramework/testSrc/com/intellij/testFramework/utils/parameterInfo/MockCreateParameterInfoContext.java
platform/testFramework/testSrc/com/intellij/testFramework/utils/parameterInfo/MockParameterInfoUIContext.java
platform/usageView/src/com/intellij/usages/actions/IncludeUsageAction.java
platform/usageView/src/com/intellij/usages/impl/ExporterToTextFile.java
platform/usageView/src/com/intellij/usages/impl/rules/UsageTypeGroupingRule.java
platform/usageView/src/com/intellij/usages/rules/PsiElementUsage.java
platform/usageView/src/com/intellij/usages/rules/UsageInFile.java
platform/usageView/src/com/intellij/usages/rules/UsageInFiles.java
platform/usageView/src/com/intellij/usages/rules/UsageInLibrary.java
platform/usageView/src/com/intellij/usages/rules/UsageInModule.java
platform/usageView/testSrc/com/intellij/usages/impl/UsageNodeTreeBuilderTest.java
platform/util/src/com/intellij/CommonBundle.java
platform/util/src/com/intellij/openapi/util/text/StringHash.java
platform/util/src/com/intellij/util/containers/VariableWidthIntArray.java
platform/util/src/com/intellij/util/text/CharSequenceBackedByArray.java
platform/util/src/com/intellij/util/text/MergingCharSequence.java
platform/util/src/com/intellij/util/ui/MappingListCellRenderer.java
platform/util/testSrc/com/intellij/util/containers/ObjectCacheTest.java
platform/vcs-api/src/com/intellij/openapi/vcs/changes/committed/ChangeListFilteringStrategy.java
platform/vcs-api/src/com/intellij/openapi/vcs/merge/MergeData.java
platform/vcs-impl/src/com/intellij/openapi/vcs/actions/SelectAndCompareWithSelectedRevisionAction.java
platform/vcs-impl/src/com/intellij/openapi/vcs/impl/LineStatusTrackerManager.java
platform/vcs-impl/src/com/intellij/openapi/vcs/impl/projectlevelman/AllVcsesI.java
platform/xdebugger-api/src/com/intellij/xdebugger/stepping/PsiBackedSmartStepIntoVariant.java
plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/actions/merge/CvsConflictsParser.java
plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/actions/merge/CvsMergeProvider.java
plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/actions/merge/MergeDataProvider.java
plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/actions/merge/MergeInfo.java
plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/connections/ssh/ui/SshPasswordDialog.java
plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsBrowser/LoadingNode.java
plugins/cvs/javacvs-src/org/netbeans/lib/cvsclient/JavaCvsSrcBundle.java
plugins/cvs/smartcvs-src/org/netbeans/lib/cvsclient/SmartCvsSrcBundle.java
plugins/git4idea/src/git4idea/changes/GitCommittedChangeListProvider.java
plugins/groovy/src/org/jetbrains/plugins/groovy/codeInspection/untypedUnresolvedAccess/GroovyUnresolvedAccessInspection.java
plugins/groovy/src/org/jetbrains/plugins/groovy/codeInspection/untypedUnresolvedAccess/GroovyUntypedAccessInspection.java
plugins/groovy/src/org/jetbrains/plugins/groovy/lang/completion/smartEnter/GroovyCommentBreakerEnterProcessor.java
plugins/groovy/src/org/jetbrains/plugins/groovy/lang/psi/api/statements/GrTupleDeclaration.java
plugins/groovy/src/org/jetbrains/plugins/groovy/lang/psi/impl/statements/GrTupleDeclarationImpl.java
plugins/groovy/src/org/jetbrains/plugins/groovy/lang/resolve/NonCodeMembersProcessor.java
plugins/groovy/src/org/jetbrains/plugins/groovy/structure/GroovyInheritFilter.java
plugins/java-i18n/src/com/intellij/codeInspection/JavaInspectionToolProvider.java
plugins/java-i18n/src/com/intellij/codeInspection/i18n/JavaCreatePropertyFix.java
plugins/properties/src/com/intellij/lang/properties/PropertiesFileTypeFactory.java
plugins/properties/src/com/intellij/lang/properties/PropertiesInspectionToolsProvider.java
plugins/properties/src/com/intellij/lang/properties/editor/PropertiesGroupingStructureViewModel.java
plugins/properties/src/com/intellij/lang/properties/editor/ResourceBundleStructureViewModel.java
plugins/properties/src/com/intellij/lang/properties/parsing/PropertiesElementTypes.java
plugins/properties/src/com/intellij/lang/properties/structureView/PropertiesFileStructureViewElement.java
plugins/properties/src/com/intellij/lang/properties/structureView/PropertiesStructureViewElement.java
plugins/properties/src/com/intellij/psi/impl/cache/impl/idCache/PropertiesIdIndexer.java
plugins/properties/src/com/intellij/psi/impl/cache/impl/idCache/PropertiesTodoIndexer.java
plugins/svn4idea/src/org/jetbrains/idea/svn/SvnAuthenticationManager.java
plugins/svn4idea/src/org/jetbrains/idea/svn/SvnEditFileProvider.java
plugins/svn4idea/src/org/jetbrains/idea/svn/SvnRevisionNumber.java
plugins/svn4idea/src/org/jetbrains/idea/svn/SvnWCRootCrawler.java
plugins/svn4idea/src/org/jetbrains/idea/svn/dialogs/LockDialog.java
plugins/svn4idea/src/org/jetbrains/idea/svn/dialogs/RepositoryBrowserComponent.java
plugins/svn4idea/src/org/jetbrains/idea/svn/dialogs/SSHCredentialsDialog.java
plugins/svn4idea/src/org/jetbrains/idea/svn/dialogs/SelectFilesDialog.java
plugins/svn4idea/src/org/jetbrains/idea/svn/dialogs/SelectLocationDialog.java
plugins/svn4idea/src/org/jetbrains/idea/svn/dialogs/ServerSSLDialog.java
plugins/svn4idea/src/org/jetbrains/idea/svn/dialogs/SetPropertyDialog.java
plugins/svn4idea/src/org/jetbrains/idea/svn/dialogs/SimpleCredentialsDialog.java
plugins/svn4idea/src/org/jetbrains/idea/svn/dialogs/SvnAuthenticationProvider.java
plugins/ui-designer/src/com/intellij/uiDesigner/GridBuildUtil.java
plugins/ui-designer/src/com/intellij/uiDesigner/binding/BoundIconRenderer.java
plugins/ui-designer/src/com/intellij/uiDesigner/designSurface/FeedbackPainter.java
plugins/ui-designer/src/com/intellij/uiDesigner/designSurface/GridInsertProcessor.java
plugins/ui-designer/src/com/intellij/uiDesigner/radComponents/RadSplitPane.java
plugins/ui-designer/src/com/intellij/uiDesigner/snapShooter/SnapShooterConfigurationExtension.java
plugins/ui-designer/src/com/intellij/uiDesigner/snapShooter/SnapShotTreeModel.java
xml/impl/src/com/intellij/codeInsight/completion/HtmlCompletionData.java
xml/impl/src/com/intellij/codeInsight/completion/XHtmlCompletionData.java
xml/impl/src/com/intellij/codeInsight/daemon/impl/analysis/CreateNSDeclarationIntentionFix.java
xml/impl/src/com/intellij/codeInsight/daemon/impl/analysis/RemoveAttributeIntentionFix.java
xml/impl/src/com/intellij/codeInsight/hint/api/impls/XmlParameterInfoHandler.java
xml/impl/src/com/intellij/codeInspection/htmlInspections/AddHtmlTagOrAttributeToCustomsIntention.java
xml/impl/src/com/intellij/lang/dtd/DTDLanguage.java
xml/impl/src/com/intellij/lang/dtd/DTDParserDefinition.java
xml/impl/src/com/intellij/lang/html/HTMLLanguage.java
xml/impl/src/com/intellij/lang/html/HTMLParserDefinition.java
xml/impl/src/com/intellij/lang/xhtml/XHTMLLanguage.java
xml/impl/src/com/intellij/lang/xhtml/XHTMLParserDefinition.java
xml/impl/src/com/intellij/lang/xml/XMLLanguage.java
xml/impl/src/com/intellij/lang/xml/XMLParserDefinition.java
xml/impl/src/com/intellij/lang/xml/XmlFoldingBuilder.java
xml/impl/src/com/intellij/lexer/BaseHtmlLexer.java
xml/impl/src/com/intellij/lexer/HtmlLexer.java
xml/impl/src/com/intellij/lexer/OldXmlLexer.java
xml/impl/src/com/intellij/lexer/XHtmlLexer.java
xml/impl/src/com/intellij/psi/impl/source/html/HtmlFileImpl.java
xml/impl/src/com/intellij/psi/impl/source/html/ScriptSupportUtil.java
xml/impl/src/com/intellij/psi/impl/source/resolve/reference/impl/providers/DtdReferencesProvider.java
xml/impl/src/com/intellij/psi/impl/source/xml/XmlConditionalSectionImpl.java
xml/impl/src/com/intellij/xml/impl/ExternalDocumentValidator.java
xml/impl/src/com/intellij/xml/impl/schema/NamedObjectDescriptor.java
xml/impl/src/com/intellij/xml/impl/schema/SchemaNSDescriptor.java
xml/impl/src/com/intellij/xml/util/AnchorReference.java
xml/impl/src/com/intellij/xml/util/ColorSampleLookupValue.java
xml/impl/src/com/intellij/xml/util/UserColorLookup.java
xml/impl/src/com/intellij/xml/util/XmlResourceResolver.java
xml/impl/src/com/intellij/xml/util/documentation/CompositeAttributeTagDescriptor.java
xml/impl/src/com/intellij/xml/util/documentation/EntityDescriptor.java
xml/impl/src/com/intellij/xml/util/documentation/HtmlAttributeDescriptor.java
xml/impl/src/com/intellij/xml/util/documentation/HtmlDescriptorsTable.java
xml/impl/src/com/intellij/xml/util/documentation/HtmlDocumentationProvider.java
xml/impl/src/com/intellij/xml/util/documentation/HtmlTagDescriptor.java
xml/impl/src/com/intellij/xml/util/documentation/XHtmlDocumentationProvider.java
xml/impl/src/com/intellij/xml/util/documentation/XmlDocumentationProvider.java
xml/openapi/src/com/intellij/psi/html/HtmlTag.java
xml/openapi/src/com/intellij/psi/tree/xml/IDTDElementType.java
xml/openapi/src/com/intellij/psi/tree/xml/IXmlElementType.java
xml/openapi/src/com/intellij/psi/xml/XmlConditionalSection.java
xml/openapi/src/com/intellij/xml/XmlBundle.java

index 4e7f6929b5bf0720e84682d718e69d18c63e32b2..9330f028a553ce3795bbb003b2217bd784928d72 100644 (file)
@@ -21,7 +21,6 @@ import com.intellij.codeInsight.lookup.LookupElement;
 import com.intellij.codeInsight.lookup.LookupElementBuilder;
 import com.intellij.codeInsight.lookup.TailTypeDecorator;
 import com.intellij.patterns.ElementPattern;
-import static com.intellij.patterns.PlatformPatterns.psiElement;
 import com.intellij.psi.PsiElement;
 import com.intellij.util.Icons;
 import com.intellij.util.ProcessingContext;
@@ -32,12 +31,10 @@ import org.jetbrains.annotations.NotNull;
 
 import javax.swing.*;
 
+import static com.intellij.patterns.PlatformPatterns.psiElement;
+
 /**
- * Created by IntelliJ IDEA.
- * User: vnikolaenko
- * Date: 22.09.2008
- * Time: 12:14:14
- * To change this template use File | Settings | File Templates.
+ * @author vnikolaenko
  */
 public class RegExpCompletionContributor extends CompletionContributor {
   private static final Icon emptyIcon = new EmptyIcon(Icons.PROPERTY_ICON.getIconWidth(), Icons.PROPERTY_ICON.getIconHeight());
index 1106b4805b0858fa75cd3c11acdca1e6cab888d3..eba87b3c138309b86e4a7682275f3ad86f344c85 100644 (file)
@@ -26,11 +26,7 @@ import org.intellij.lang.regexp.psi.impl.RegExpPropertyImpl;
 import org.jetbrains.annotations.Nullable;
 
 /**
- * Created by IntelliJ IDEA.
- * User: vnikolaenko
- * Date: 17.09.2008
- * Time: 19:24:29
- * To change this template use File | Settings | File Templates.
+ * @author vnikolaenko
  */
 public class RegExpDocumentationProvider extends QuickDocumentationProvider {
   @Override
index dbc93a94cb3f1e1c9a469bbda53f431ab8e191a4..3ecabe8118fe692cf8cd35224dc7cefba0aa7de6 100644 (file)
  */
 package com.intellij.uiDesigner.compiler;
 
+import org.objectweb.asm.Type;
 import org.objectweb.asm.commons.GeneratorAdapter;
 import org.objectweb.asm.commons.Method;
-import org.objectweb.asm.Type;
 
 import java.awt.*;
 
 /**
- * Created by IntelliJ IDEA.
- * User: yole
- * Date: 22.11.2005
- * Time: 17:46:41
- * To change this template use File | Settings | File Templates.
+ * @author yole
  */
 public class InsetsPropertyCodeGenerator extends PropertyCodeGenerator {
   private final Type myInsetsType = Type.getType(Insets.class);
 
   public void generatePushValue(final GeneratorAdapter generator, final Object value) {
-    final Insets insets = (Insets) value;
+    final Insets insets = (Insets)value;
     generator.newInstance(myInsetsType);
     generator.dup();
     generator.push(insets.top);
index 65cd0c6e523f73287b69847419d11cd5b5a061e6..1785247b0763992e31549ed0fa165fe70dbef5a5 100644 (file)
@@ -22,11 +22,7 @@ import javax.swing.*;
 import java.awt.*;
 
 /**
- * Created by IntelliJ IDEA.
- * User: yole
- * Date: 23.11.2005
- * Time: 13:47:38
- * To change this template use File | Settings | File Templates.
+ * @author yole
  */
 public class GridBagConverterTest extends TestCase {
   /**
@@ -892,7 +888,7 @@ public class GridBagConverterTest extends TestCase {
     assertEquals(100, field3.getHeight());
   }
 
-  private void applyConversionResults(final JPanel panel, final GridBagConverter converter) {
+  private static void applyConversionResults(final JPanel panel, final GridBagConverter converter) {
     GridBagConverter.Result[] results = converter.convert();
     for(int i=0; i<results.length; i++)  {
       GridBagConverter.Result result = results [i];
index 12d89c1947ee6100baa040b401fae409ec16d1e8..ba02df459449f62ed62597634880776024629924 100644 (file)
@@ -20,11 +20,7 @@ import com.intellij.openapi.actionSystem.AnActionEvent;
 import com.intellij.openapi.actionSystem.IdeActions;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 14, 2004
- * Time: 11:15:59 AM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public class EditFrameSourceAction extends GotoFrameSourceAction{
   public void update(AnActionEvent e) {
index afe367dada117d0a0870de5dbec6c6ea5f0dc547..eb6dea34891c0bf257466d4d2730ba188b9adf58 100644 (file)
@@ -25,44 +25,45 @@ import com.intellij.debugger.ui.impl.watch.ThreadDescriptorImpl;
 import com.intellij.openapi.actionSystem.AnActionEvent;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 14, 2004
- * Time: 3:35:58 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
-public class FreezeThreadAction extends DebuggerAction{
+public class FreezeThreadAction extends DebuggerAction {
   public void actionPerformed(final AnActionEvent e) {
     DebuggerTreeNodeImpl[] selectedNode = getSelectedNodes(e.getDataContext());
+    if (selectedNode == null) {
+      return;
+    }
     final DebuggerContextImpl debuggerContext = getDebuggerContext(e.getDataContext());
     final DebugProcessImpl debugProcess = debuggerContext.getDebugProcess();
 
-    for (int i = 0; i < selectedNode.length; i++) {
-      final DebuggerTreeNodeImpl debuggerTreeNode = selectedNode[i];
+    for (final DebuggerTreeNodeImpl debuggerTreeNode : selectedNode) {
       ThreadDescriptorImpl threadDescriptor = ((ThreadDescriptorImpl)debuggerTreeNode.getDescriptor());
       final ThreadReferenceProxyImpl thread = threadDescriptor.getThreadReference();
 
-      if(!threadDescriptor.isFrozen()) {
+      if (!threadDescriptor.isFrozen()) {
         debugProcess.getManagerThread().schedule(new SuspendContextCommandImpl(debuggerContext.getSuspendContext()) {
-              public void contextAction() throws Exception {
-                debugProcess.createFreezeThreadCommand(thread).run();
-                debuggerTreeNode.calcValue();
-              }
-            });
+          public void contextAction() throws Exception {
+            debugProcess.createFreezeThreadCommand(thread).run();
+            debuggerTreeNode.calcValue();
+          }
+        });
       }
     }
   }
 
   public void update(AnActionEvent e) {
     DebuggerTreeNodeImpl[] selectedNode = getSelectedNodes(e.getDataContext());
+    if (selectedNode == null) {
+      return;
+    }
     DebugProcessImpl debugProcess = getDebuggerContext(e.getDataContext()).getDebugProcess();
 
     boolean visible = false;
-    if(debugProcess != null) {
+    if (debugProcess != null) {
       visible = true;
-      for (int i = 0; i < selectedNode.length; i++) {
-        NodeDescriptorImpl threadDescriptor = selectedNode[i].getDescriptor();
-        if(!(threadDescriptor instanceof ThreadDescriptorImpl) || ((ThreadDescriptorImpl)threadDescriptor).isFrozen()) {
+      for (DebuggerTreeNodeImpl aSelectedNode : selectedNode) {
+        NodeDescriptorImpl threadDescriptor = aSelectedNode.getDescriptor();
+        if (!(threadDescriptor instanceof ThreadDescriptorImpl) || ((ThreadDescriptorImpl)threadDescriptor).isFrozen()) {
           visible = false;
           break;
         }
index da35e6fab3b27735bb2c68c704f31d7a575720af..e13a0eb2856495bddc2f6467beca1c03c8f4f9e1 100644 (file)
@@ -24,11 +24,7 @@ import com.intellij.openapi.actionSystem.PlatformDataKeys;
 import com.intellij.openapi.project.Project;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 14, 2004
- * Time: 10:36:59 AM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public abstract class GotoFrameSourceAction extends DebuggerAction{
   public void actionPerformed(AnActionEvent e) {
index 77028c3e4a3f0403587a2f97039245f23694f552..250ae85cf884f6c5b38cb5741df743193f0be46a 100644 (file)
@@ -26,11 +26,7 @@ import com.intellij.openapi.actionSystem.PlatformDataKeys;
 import com.intellij.openapi.project.Project;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Jun 26, 2003
- * Time: 12:52:01 PM
- * To change this template use Options | File Templates.
+ * @author lex
  */
 public class HotSwapAction extends AnAction{
 
index ae4d5d9a78329ea02376307b78266b8e031329c7..709f6da28cb7cc1e073ea8243f556125d3ae6b9b 100644 (file)
  */
 package com.intellij.debugger.engine;
 
-import com.intellij.debugger.engine.DebugProcess;
 import com.intellij.execution.ExecutionException;
 import com.intellij.execution.configurations.RemoteConnection;
 import com.intellij.execution.configurations.RunProfileState;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Feb 26, 2004
- * Time: 4:11:18 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public class DebugProcessAdapterImpl implements DebugProcessListener {
   //executed in manager thread
index cc11ebbbe1b895234ef2ff2637f3b42b09ba5ef9..62a8f8cb0bce78c582786f0553b8ccc007134fcb 100644 (file)
@@ -46,11 +46,7 @@ import com.sun.jdi.request.EventRequest;
 import com.sun.jdi.request.MethodExitRequest;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Feb 25, 2004
- * Time: 4:39:03 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public class DebugProcessEvents extends DebugProcessImpl {
   private static final Logger LOG = Logger.getInstance("#com.intellij.debugger.engine.DebugProcessEvents");
index d36b3da7cdc2b7c19ae12ed3c709dee30c908042..9d47e316e2c2b610b0c21846d75314f8a0d2e187 100644 (file)
 package com.intellij.debugger.engine;
 
 import com.intellij.debugger.engine.evaluation.EvaluateException;
-import com.intellij.debugger.engine.DebugProcess;
-import com.intellij.debugger.engine.evaluation.EvaluateException;
-import com.intellij.debugger.engine.evaluation.EvaluateException;
-import com.intellij.openapi.project.Project;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 2, 2004
- * Time: 3:50:51 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public interface JVMName {
   String getName(DebugProcessImpl process) throws EvaluateException;
+
   String getDisplayName(DebugProcessImpl debugProcess);
 }
index 7ec1a3f6fb3c72b6d0b6c53467ca361671edf52e..8b8813ebe377f40aee3a5150083ac562784a50e1 100644 (file)
@@ -41,11 +41,7 @@ import java.util.Collections;
 import java.util.List;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 2, 2004
- * Time: 8:33:41 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public class PositionManagerImpl implements PositionManager {
   private static final Logger LOG = Logger.getInstance("#com.intellij.debugger.engine.PositionManagerImpl");
index edb86a4fdf12417ec91cc6e0a91934e4ab6626f9..4205f24ddeafe768029eb6d9cb8b3532e4aabe42 100644 (file)
@@ -29,11 +29,7 @@ import com.intellij.openapi.project.Project;
 import org.jetbrains.annotations.NotNull;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 29, 2004
- * Time: 6:27:18 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public class RemoteStateState implements RemoteState {
   private final Project    myProject;
index 0222caccfa4c00de8e49560a64e765b32c44ca2d..aa5128b9bbab7d1e940cc3220f4c3387348c233d 100644 (file)
@@ -34,11 +34,7 @@ import java.util.Set;
 import java.util.concurrent.ConcurrentLinkedQueue;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Feb 24, 2004
- * Time: 8:04:50 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public abstract class SuspendContextImpl implements SuspendContext {
   private static final Logger LOG = Logger.getInstance("#com.intellij.debugger.engine.SuspendContextImpl");
index 1882f5528319f59043f7484aabb675074ff1a85f..6acf537430c9cec94194438d44031af7f1f0a1a6 100644 (file)
@@ -25,18 +25,16 @@ import com.sun.jdi.request.EventRequest;
 import java.util.*;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Feb 24, 2004
- * Time: 8:04:01 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public class SuspendManagerImpl implements SuspendManager {
   private static final Logger LOG = Logger.getInstance("#com.intellij.debugger.engine.SuspendManager");
 
   private final LinkedList<SuspendContextImpl> myEventContexts  = new LinkedList<SuspendContextImpl>();
-  // contexts, paused at breakpoint or another debugger event requests. Note that thread, explicitly paused by user is not considered as
-  // "paused at breakpoint" and JDI prohibits data queries on its stackframes 
+  /**
+   * contexts, paused at breakpoint or another debugger event requests. Note that thread, explicitly paused by user is not considered as
+   * "paused at breakpoint" and JDI prohibits data queries on its stackframes
+   */
   private final LinkedList<SuspendContextImpl> myPausedContexts = new LinkedList<SuspendContextImpl>();
   private final Set<ThreadReferenceProxyImpl>  myFrozenThreads  = Collections.synchronizedSet(new HashSet<ThreadReferenceProxyImpl>());
 
index 2a83a82ae8cd62af99e513ad284054fb0ff5c2e7..a5b460cebc5dcb74e0ab9a5cd38b9376eeb94873 100644 (file)
  */
 package com.intellij.debugger.engine.evaluation;
 
-import com.intellij.debugger.engine.evaluation.EvaluateException;
-
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Jan 14, 2004
- * Time: 2:18:59 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
-public class EvaluateRuntimeException extends RuntimeException{
+public class EvaluateRuntimeException extends RuntimeException {
   public EvaluateRuntimeException(EvaluateException e) {
     super(e);
   }
index f6144f3142af8989b408a6203d394be53983f372..a9bfa83fdade86ca9ba63d3636827eb721434a02 100644 (file)
@@ -20,13 +20,10 @@ import com.intellij.debugger.engine.SuspendContextImpl;
 import java.util.EventListener;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Feb 3, 2004
- * Time: 7:19:30 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
-public interface EvaluationListener extends EventListener{
-  public void evaluationStarted(SuspendContextImpl context);
-  public void evaluationFinished(SuspendContextImpl context);
+public interface EvaluationListener extends EventListener {
+  void evaluationStarted(SuspendContextImpl context);
+
+  void evaluationFinished(SuspendContextImpl context);
 }
index b1cbe2534eabbffb01638e9265d1c32e840ea8d6..9bbdf1a0f89a965491b3bcc0259908644ffb5a09 100644 (file)
@@ -22,11 +22,7 @@ import com.intellij.debugger.engine.evaluation.EvaluationContextImpl;
 import com.sun.jdi.*;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Mar 24, 2004
- * Time: 11:10:41 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public class AssignmentEvaluator implements Evaluator{
   private final Evaluator myLeftEvaluator;
index d68eb235063e4fc6364dd9faa2a2dc34b729a309..464aa6ea4f352e7d8acf56cdbff382d503cae037 100644 (file)
  */
 package com.intellij.debugger.engine.evaluation.expression;
 
-import com.intellij.debugger.engine.evaluation.EvaluationContextImpl;
-import com.intellij.debugger.engine.evaluation.EvaluateException;
 import com.intellij.debugger.engine.evaluation.EvaluateException;
+import com.intellij.debugger.engine.evaluation.EvaluationContextImpl;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 20, 2004
- * Time: 5:21:10 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
-public class BlockStatementEvaluator implements Evaluator{
-  protected Evaluator [] myStatements;
+public class BlockStatementEvaluator implements Evaluator {
+  protected Evaluator[] myStatements;
 
   public BlockStatementEvaluator(Evaluator[] statements) {
     myStatements = statements;
@@ -35,8 +30,7 @@ public class BlockStatementEvaluator implements Evaluator{
 
   public Object evaluate(EvaluationContextImpl context) throws EvaluateException {
     Object result = context.getSuspendContext().getDebugProcess().getVirtualMachineProxy().mirrorOf();
-    for (int i = 0; i < myStatements.length; i++) {
-      Evaluator statement = myStatements[i];
+    for (Evaluator statement : myStatements) {
       result = statement.evaluate(context);
     }
     return result;
index 40df7ed7189a9235ce4397146b05955fce8d8b4b..e65a3225d2ae452dc9111a7548044e0686931e17 100644 (file)
@@ -18,13 +18,12 @@ package com.intellij.debugger.engine.evaluation.expression;
 import com.intellij.debugger.engine.evaluation.EvaluationContextImpl;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 20, 2004
- * Time: 7:27:10 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
-public abstract class BreakContinueStatementEvaluator implements Evaluator{
+public class BreakContinueStatementEvaluator {
+  private BreakContinueStatementEvaluator() {
+  }
+
   public static Evaluator createBreakEvaluator(final String labelName) {
     return new Evaluator() {
       public Object evaluate(EvaluationContextImpl context) throws BreakException {
index 337a9468eca4ce37daaaa0dd19bd547dc2edd8de..24a7fe5f502cd87e56bc7e00c9a8322a0758edd3 100644 (file)
  */
 package com.intellij.debugger.engine.evaluation.expression;
 
-import com.intellij.debugger.engine.evaluation.EvaluateException;
 import com.intellij.debugger.DebuggerBundle;
+import com.intellij.debugger.engine.evaluation.EvaluateException;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 20, 2004
- * Time: 7:12:47 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public class BreakException extends EvaluateException{
   private final String myLabelName;
index 9597b31ee08b00c3b7bcdbec7e8fda47f4948ff5..5fb1e8b2823a2ccec96c8247d9289c3adb60165e 100644 (file)
  */
 package com.intellij.debugger.engine.evaluation.expression;
 
+import com.intellij.debugger.DebuggerBundle;
 import com.intellij.debugger.engine.evaluation.EvaluateException;
 import com.intellij.debugger.engine.evaluation.EvaluateExceptionUtil;
 import com.intellij.debugger.jdi.VirtualMachineProxyImpl;
-import com.intellij.debugger.DebuggerBundle;
 import com.intellij.openapi.diagnostic.Logger;
 import com.intellij.util.containers.HashMap;
 import com.sun.jdi.Value;
@@ -26,11 +26,7 @@ import com.sun.jdi.Value;
 import java.util.Map;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Mar 24, 2004
- * Time: 10:45:50 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public class CodeFragmentEvaluator extends BlockStatementEvaluator{
   private static final Logger LOG = Logger.getInstance("#com.intellij.debugger.engine.evaluation.expression.CodeFragmentEvaluator");
index 80caa8d746dc2e95b7333ff02323a16e2030bb9a..fd0dff311816b1b20c3eb498bfdfcc712edaf4bf 100644 (file)
  */
 package com.intellij.debugger.engine.evaluation.expression;
 
-import com.intellij.debugger.engine.evaluation.EvaluateException;
 import com.intellij.debugger.DebuggerBundle;
+import com.intellij.debugger.engine.evaluation.EvaluateException;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 20, 2004
- * Time: 7:12:47 PM
- * To change this template use File | Settings | File Templates.
+ * @authorlex
  */
 public class ContinueException extends EvaluateException{
   private final String myLabelName;
index e970725097145f6f8971bb17c37b9dc16a35717e..be074474777bf6165006416f183eb4afe29ebc65 100644 (file)
@@ -22,11 +22,7 @@ import com.intellij.openapi.util.Comparing;
 import com.sun.jdi.BooleanValue;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 20, 2004
- * Time: 5:03:47 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public class ForStatementEvaluator implements Evaluator {
   private final Evaluator myInitializationEvaluator;
@@ -35,9 +31,13 @@ public class ForStatementEvaluator implements Evaluator {
   private final Evaluator myBodyEvaluator;
 
   private Modifier myModifier;
-  private final String   myLabelName;
+  private final String myLabelName;
 
-  public ForStatementEvaluator(Evaluator initializationEvaluator, Evaluator conditionEvaluator, Evaluator updateEvaluator, Evaluator bodyEvaluator, String labelName) {
+  public ForStatementEvaluator(Evaluator initializationEvaluator,
+                               Evaluator conditionEvaluator,
+                               Evaluator updateEvaluator,
+                               Evaluator bodyEvaluator,
+                               String labelName) {
     myInitializationEvaluator = initializationEvaluator;
     myConditionEvaluator = conditionEvaluator;
     myUpdateEvaluator = updateEvaluator;
@@ -51,19 +51,20 @@ public class ForStatementEvaluator implements Evaluator {
 
   public Object evaluate(EvaluationContextImpl context) throws EvaluateException {
     Object value = context.getDebugProcess().getVirtualMachineProxy().mirrorOf();
-    if(myInitializationEvaluator != null) {
+    if (myInitializationEvaluator != null) {
       value = myInitializationEvaluator.evaluate(context);
       myModifier = myInitializationEvaluator.getModifier();
     }
 
-    for (;;) {
-      if(myConditionEvaluator != null) {
+    while (true) {
+      if (myConditionEvaluator != null) {
         value = myConditionEvaluator.evaluate(context);
         myModifier = myConditionEvaluator.getModifier();
-        if(!(value instanceof BooleanValue)) {
+        if (!(value instanceof BooleanValue)) {
           throw EvaluateExceptionUtil.BOOLEAN_EXPECTED;
-        } else {
-          if(!((BooleanValue)value).booleanValue()) {
+        }
+        else {
+          if (!((BooleanValue)value).booleanValue()) {
             break;
           }
         }
@@ -73,19 +74,23 @@ public class ForStatementEvaluator implements Evaluator {
         myBodyEvaluator.evaluate(context);
       }
       catch (BreakException e) {
-        if(Comparing.equal(e.getLabelName(), myLabelName)) {
+        if (Comparing.equal(e.getLabelName(), myLabelName)) {
           break;
-        } else
+        }
+        else {
           throw e;
+        }
       }
       catch (ContinueException e) {
-        if(Comparing.equal(e.getLabelName(), myLabelName)) {
+        if (Comparing.equal(e.getLabelName(), myLabelName)) {
           //continue;
-        } else
+        }
+        else {
           throw e;
+        }
       }
 
-      if(myUpdateEvaluator != null) {
+      if (myUpdateEvaluator != null) {
         value = myUpdateEvaluator.evaluate(context);
         myModifier = myUpdateEvaluator.getModifier();
       }
index 8a73bf6c1c34f08f702f141ad5cfd3dcfe4183bc..a13cdd432e1c032010f1fe529d423f5e1d007061 100644 (file)
  */
 package com.intellij.debugger.engine.evaluation.expression;
 
-import com.intellij.debugger.engine.evaluation.EvaluationContextImpl;
-import com.intellij.debugger.engine.evaluation.EvaluateExceptionUtil;
-import com.intellij.debugger.engine.evaluation.EvaluateException;
 import com.intellij.debugger.engine.evaluation.EvaluateException;
+import com.intellij.debugger.engine.evaluation.EvaluateExceptionUtil;
+import com.intellij.debugger.engine.evaluation.EvaluationContextImpl;
 import com.sun.jdi.BooleanValue;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 20, 2004
- * Time: 5:03:47 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public class IfStatementEvaluator implements Evaluator {
   private final Evaluator myConditionEvaluator;
diff --git a/java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/MapStack.java b/java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/MapStack.java
deleted file mode 100644 (file)
index 4e35e79..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Copyright 2000-2009 JetBrains s.r.o.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.intellij.debugger.engine.evaluation.expression;
-
-import com.intellij.openapi.diagnostic.Logger;
-
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.LinkedList;
-
-/**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Mar 24, 2004
- * Time: 10:36:12 PM
- * To change this template use File | Settings | File Templates.
- */
-public class MapStack<Key, Value> {
-  private static final Logger LOG = Logger.getInstance("#com.intellij.debugger.engine.evaluation.expression.MapStack");
-
-  private final LinkedList<HashMap<Key, Value>> myStack;
-
-  public MapStack() {
-    myStack = new LinkedList<HashMap<Key,Value>>();
-    push();
-  }
-
-  public void push(){
-    myStack.addFirst(new HashMap<Key, Value>());
-  }
-
-  public void pop(){
-    myStack.removeFirst();
-    LOG.assertTrue(myStack.size() > 0);
-  }
-
-  private HashMap<Key, Value> current() {
-    return myStack.getFirst();
-  }
-
-  public void put(Key key, Value value) {
-    current().put(key, value);
-  }
-
-  public boolean containsKey(Key key){
-    for (Iterator<HashMap<Key, Value>> iterator = myStack.iterator(); iterator.hasNext();) {
-      HashMap<Key, Value> hashMap = iterator.next();
-      if(hashMap.containsKey(key))return true;
-    }
-    return false;        
-  }
-
-  public Value get(Key key) {
-    for (Iterator<HashMap<Key, Value>> iterator = myStack.iterator(); iterator.hasNext();) {
-      HashMap<Key, Value> hashMap = iterator.next();
-      Value value = hashMap.get(key);
-      if(value != null) return value;
-    }
-    return null;
-  }
-}
index f5e0fa3d2304fcc4846ae63e7735b75ba2bccb53..e4ee8c5a0d3e19feee72ffd33aaa2e450a17d1fa 100644 (file)
@@ -23,11 +23,7 @@ import com.sun.jdi.Value;
 import org.jetbrains.annotations.NonNls;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 20, 2004
- * Time: 5:34:50 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public class PostfixOperationEvaluator implements Evaluator{
   private final Evaluator myOperandEvaluator;
index 23bd6df7555e51736330e31672f6be328ce9c57f..e96884cd0398496f1b61ea8e72d17fc8ed7d8001 100644 (file)
@@ -18,18 +18,13 @@ package com.intellij.debugger.engine.evaluation.expression;
 import com.intellij.debugger.engine.evaluation.EvaluateException;
 import com.intellij.debugger.engine.evaluation.EvaluationContextImpl;
 import com.intellij.debugger.ui.impl.watch.NodeDescriptorImpl;
-import com.intellij.debugger.ui.impl.watch.NodeManagerImpl;
 import com.intellij.openapi.diagnostic.Logger;
 import com.intellij.openapi.project.Project;
 import com.sun.jdi.Type;
 import com.sun.jdi.Value;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Mar 25, 2004
- * Time: 2:53:29 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public class SyntheticVariableEvaluator implements Evaluator{
   private static final Logger LOG = Logger.getInstance("#com.intellij.debugger.engine.evaluation.expression.SyntheticVariableEvaluator");
index a9bc631f79e6a0144f26ba97b522a32996571742..73a143ce1148387f625e0762dd741657ab6f793d 100644 (file)
@@ -22,11 +22,7 @@ import com.intellij.openapi.util.Comparing;
 import com.sun.jdi.BooleanValue;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 20, 2004
- * Time: 5:03:47 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public class WhileStatementEvaluator implements Evaluator {
   private final Evaluator myConditionEvaluator;
@@ -45,12 +41,13 @@ public class WhileStatementEvaluator implements Evaluator {
 
   public Object evaluate(EvaluationContextImpl context) throws EvaluateException {
     Object value;
-    for (;;) {
+    while (true) {
       value = myConditionEvaluator.evaluate(context);
-      if(!(value instanceof BooleanValue)) {
+      if (!(value instanceof BooleanValue)) {
         throw EvaluateExceptionUtil.BOOLEAN_EXPECTED;
-      } else {
-        if(!((BooleanValue)value).booleanValue()) {
+      }
+      else {
+        if (!((BooleanValue)value).booleanValue()) {
           break;
         }
       }
@@ -58,16 +55,17 @@ public class WhileStatementEvaluator implements Evaluator {
         myBodyEvaluator.evaluate(context);
       }
       catch (BreakException e) {
-        if(Comparing.equal(e.getLabelName(), myLabelName)) {
+        if (Comparing.equal(e.getLabelName(), myLabelName)) {
           break;
-        } else
+        }
+        else {
           throw e;
+        }
       }
       catch (ContinueException e) {
-        if(Comparing.equal(e.getLabelName(), myLabelName)) {
-          continue;
-        } else
+        if (!Comparing.equal(e.getLabelName(), myLabelName)) {
           throw e;
+        }
       }
     }
 
index d0ce0c115b67b13d23fb68ecd3a588c16d11e9d7..038ff6db1b2a7d0da9f23c2e17414a01ec63ea76 100644 (file)
@@ -18,11 +18,7 @@ package com.intellij.debugger.engine.events;
 import com.intellij.debugger.impl.DebuggerTaskImpl;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Mar 5, 2004
- * Time: 6:04:07 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public abstract class DebuggerCommandImpl extends DebuggerTaskImpl {
   protected abstract void action() throws Exception;
diff --git a/java/debugger/impl/src/com/intellij/debugger/impl/CloseWorkerThreadException.java b/java/debugger/impl/src/com/intellij/debugger/impl/CloseWorkerThreadException.java
deleted file mode 100644 (file)
index 31e956f..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Copyright 2000-2009 JetBrains s.r.o.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.intellij.debugger.impl;
-
-/**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Mar 31, 2004
- * Time: 4:58:01 PM
- * To change this template use File | Settings | File Templates.
- */
-public class CloseWorkerThreadException extends RuntimeException {
-}
index 6467c4373f554bfb6a9fe8638125ba94b502837a..81639f2003c5fb4d4ce8d4029189993a944e8a74 100644 (file)
 package com.intellij.debugger.impl;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 7, 2004
- * Time: 2:40:47 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
-public interface DebuggerTask extends PrioritizedTask{
+public interface DebuggerTask extends PrioritizedTask {
   void release();
+
   void hold();
+
   void waitFor();
 }
index 7a0efd894d0776d33a1732300f0f9c9674b50502..03cda8d8e839033ad380635da9fbc8577bc2948a 100644 (file)
 package com.intellij.debugger.impl;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Feb 27, 2004
- * Time: 12:56:52 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public abstract class DebuggerTaskImpl implements DebuggerTask {
   private boolean myOnHold = false;
index 6410b7ee49dbc051231cbe9f7488e466a52efdb1..be0cd485b30bd22f48b4d060c43b8ea371425628 100644 (file)
 package com.intellij.debugger.impl;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Feb 19, 2004
- * Time: 8:48:37 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
-public class EventQueueClosedException extends Exception{
+public class EventQueueClosedException extends Exception {
 }
index d88a62adb425094485238dd5735ef78f89fd781c..3278e59f1764cb32351f9790a8788bd2b2c9d812 100644 (file)
  */
 package com.intellij.debugger.impl;
 
-
-
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Feb 24, 2004
- * Time: 3:27:55 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
-public abstract class InvokeAndWaitThread<E extends DebuggerTask> extends InvokeThread<E>{
+public abstract class InvokeAndWaitThread<E extends DebuggerTask> extends InvokeThread<E> {
 
   public InvokeAndWaitThread() {
     super();
   }
 
-  //Do not remove this code
-  //Otherwise it will be impossible to override schedule method
+  /**
+   * !!! Do not remove this code !!!
+   * Otherwise it will be impossible to override schedule method
+   */
   public void schedule(E e) {
     super.schedule(e);
   }
index d17f14a45e7688e20ebf765027c0d9ab80680ce8..b041959ed403e0159c0aed610fd2e9bfa99ebaf1 100644 (file)
@@ -22,11 +22,7 @@ import com.sun.jdi.VMDisconnectedException;
 import java.util.concurrent.*;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Mar 19, 2004
- * Time: 11:42:03 AM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public abstract class InvokeThread<E extends PrioritizedTask> {
   private static final Logger LOG = Logger.getInstance("#com.intellij.debugger.impl.InvokeThread");
@@ -47,7 +43,7 @@ public abstract class InvokeThread<E extends PrioritizedTask> {
           try {
             wait();
           }
-          catch (InterruptedException e) {
+          catch (InterruptedException ignore) {
           }
         }
       }
index 350fc81ebc30c07f51932510c43931103ce6313f..7145ea99a359e97220ea8bb466c184839977fd4d 100644 (file)
@@ -33,15 +33,12 @@ import org.jetbrains.annotations.Nullable;
 
 import javax.swing.*;
 import java.io.IOException;
+import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Mar 10, 2004
- * Time: 7:12:57 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 class ReloadClassesWorker {
   private static final Logger LOG = Logger.getInstance("#com.intellij.debugger.impl.ReloadClassesWorker");
@@ -62,10 +59,6 @@ class ReloadClassesWorker {
     return myDebuggerSession.getProcess();
   }
 
-  private Project getProject() {
-    return myDebuggerSession.getProject();
-  }
-
   private void processException(Throwable e) {
     if (e.getMessage() != null) {
       myProgress.addMessage(myDebuggerSession, MessageCategory.ERROR, e.getMessage());
@@ -120,7 +113,7 @@ class ReloadClassesWorker {
     virtualMachineProxy.suspend();
            
     try {
-      final Map<ReferenceType, byte[]> redefineMap = new java.util.HashMap<ReferenceType,byte[]>();
+      final Map<ReferenceType, byte[]> redefineMap = new HashMap<ReferenceType,byte[]>();
       int processedClassesCount = 0;
       final IOException[] _ex = new IOException[] {null};
       for (final String qualifiedName : modifiedClasses.keySet()) {
diff --git a/java/debugger/impl/src/com/intellij/debugger/ui/CompletedInputTextField.java b/java/debugger/impl/src/com/intellij/debugger/ui/CompletedInputTextField.java
deleted file mode 100644 (file)
index 587c192..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Copyright 2000-2009 JetBrains s.r.o.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.intellij.debugger.ui;
-
-/**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Mar 31, 2004
- * Time: 7:48:44 PM
- * To change this template use File | Settings | File Templates.
- */
-public interface CompletedInputTextField {
-}
index ca8cb5167e5dab2a752b91376fd727841eb3f8bf..a5329014a881c62ed3f2db05ec3aabec8e9d2dd6 100644 (file)
@@ -34,11 +34,7 @@ import java.util.ArrayList;
 import java.util.List;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 12, 2004
- * Time: 2:46:02 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public abstract class DebuggerEditorImpl extends CompletionEditor{
   private static final Logger LOG = Logger.getInstance("#com.intellij.debugger.ui.DebuggerEditorImpl");
@@ -86,7 +82,9 @@ public abstract class DebuggerEditorImpl extends CompletionEditor{
     if (document != null) {
       PsiDocumentManager.getInstance(project).commitDocument(document);
       PsiFile psiFile = PsiDocumentManager.getInstance(project).getPsiFile(document);
-      return createText(psiFile.getText(), ((JavaCodeFragment)psiFile).importsToString());
+      if (psiFile != null) {
+        return createText(psiFile.getText(), ((JavaCodeFragment)psiFile).importsToString());
+      }
     }
 
     return createText("");
index 54f25204b1a95892f28cb11872c11a7d15231673..4b5d2c73cd276a5b7ef4bc187696d782c80cb68e 100644 (file)
@@ -37,11 +37,7 @@ import java.util.List;
 import java.util.ListIterator;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 12, 2004
- * Time: 2:39:17 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public class DebuggerStatementEditor extends DebuggerEditorImpl {
   private static final Logger LOG = Logger.getInstance("#com.intellij.debugger.ui.DebuggerStatementEditor");
index fe35ba2a73062edc73e1f9f1d2e7dfc52bd2d8f7..f90764a55b30bf4a1b714db86813a79af2368ca4 100644 (file)
@@ -46,11 +46,7 @@ import java.awt.event.ActionEvent;
 import java.awt.event.KeyEvent;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 12, 2004
- * Time: 4:28:52 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public class StatementEvaluationDialog extends EvaluationDialog{
   private final JPanel myPanel;
@@ -79,7 +75,7 @@ public class StatementEvaluationDialog extends EvaluationDialog{
 
     splitter.setFirstComponent(editorPanel);
 
-    final EvaluationDialog.MyEvaluationPanel evaluationPanel = getEvaluationPanel();
+    final MyEvaluationPanel evaluationPanel = getEvaluationPanel();
     final JPanel ep = new JPanel(new BorderLayout());
     final JLabel resultLabel = new JLabel(DebuggerBundle.message("label.evaluate.dialog.result"));
     ep.add(resultLabel, BorderLayout.NORTH);
@@ -166,6 +162,9 @@ public class StatementEvaluationDialog extends EvaluationDialog{
   private void updateSwitchButton(Document document) {
     PsiDocumentManager.getInstance(getProject()).commitDocument(document);
     PsiFile psiFile = PsiDocumentManager.getInstance(getProject()).getPsiFile(document);
+    if (psiFile == null) {
+      return;
+    }
     PsiElement[] children = psiFile.getChildren();
     int nonWhite = 0;
     for (PsiElement child : children) {
@@ -215,7 +214,7 @@ public class StatementEvaluationDialog extends EvaluationDialog{
 
   private class SwitchAction extends AbstractAction {
     public SwitchAction() {
-      putValue(Action.NAME, DebuggerBundle.message("action.evaluate.statement.dialog.switch.mode.description"));
+      putValue(NAME, DebuggerBundle.message("action.evaluate.statement.dialog.switch.mode.description"));
     }
 
     public void actionPerformed(ActionEvent e) {
index fec8ee4b2583ae3934be4723158755ec37de469b..721d287833dbb210e71c73aeffb901c0c0905b00 100644 (file)
@@ -38,11 +38,7 @@ import java.awt.*;
 import java.awt.event.*;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Jan 29, 2004
- * Time: 4:23:11 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public class TipManager implements Disposable, PopupMenuListener {
 
@@ -53,7 +49,7 @@ public class TipManager implements Disposable, PopupMenuListener {
 
   private MouseEvent myLastMouseEvent;
 
-  public static interface TipFactory {
+  public interface TipFactory {
     JComponent createToolTip (MouseEvent e);
     MouseEvent createTooltipEvent(MouseEvent candiateEvent);
     boolean isFocusOwner();
@@ -152,8 +148,8 @@ public class TipManager implements Disposable, PopupMenuListener {
   private boolean isInsideComponent(final MouseEvent e) {
     final Rectangle compBounds = myComponent.getBounds();
     final Point compPoint = SwingUtilities.convertPoint(e.getComponent(), e.getPoint(), myComponent);
-    final boolean insideCoponent = compBounds.contains(compPoint);
-    return insideCoponent;
+
+    return compBounds.contains(compPoint);
   }
 
 
index 20905ce4a113b25b329f38ddd9c9dbc546a81b90..da78e13ce48e7d2e0c86b19e6b339f65b4ee1688 100644 (file)
@@ -42,11 +42,7 @@ import org.jetbrains.annotations.Nullable;
 import java.util.List;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 12, 2004
- * Time: 5:24:17 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public abstract class EvaluationDescriptor extends ValueDescriptorImpl{
   private Modifier myModifier;
index 3ee119ab1f7a09325173d903fae9ae170bb73597..c0f0bfede608bc9881f6823f5786f4ca7ea20859 100644 (file)
@@ -25,30 +25,29 @@ import com.intellij.psi.PsiClass;
 import com.intellij.util.Function;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 29, 2004
- * Time: 6:33:26 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
-public abstract class DebuggerManager implements ProjectComponent, JDOMExternalizable{
+public abstract class DebuggerManager implements ProjectComponent, JDOMExternalizable {
   public static DebuggerManager getInstance(Project project) {
     return project.getComponent(DebuggerManager.class);
   }
 
   public abstract DebugProcess getDebugProcess(ProcessHandler processHandler);
 
-  public abstract void addDebugProcessListener   (ProcessHandler processHandler, DebugProcessListener listener);
+  public abstract void addDebugProcessListener(ProcessHandler processHandler, DebugProcessListener listener);
+
   public abstract void removeDebugProcessListener(ProcessHandler processHandler, DebugProcessListener listener);
 
   public abstract boolean isDebuggerManagerThread();
-  
+
   public abstract void addClassNameMapper(NameMapper mapper);
+
   public abstract void removeClassNameMapper(NameMapper mapper);
-  
-  public abstract String getVMClassQualifiedName(PsiClass aClass); 
-  
-  public abstract void registerPositionManagerFactory(Function<DebugProcess,PositionManager> factory);
+
+  public abstract String getVMClassQualifiedName(PsiClass aClass);
+
+  public abstract void registerPositionManagerFactory(Function<DebugProcess, PositionManager> factory);
+
   public abstract void unregisterPositionManagerFactory(Function<DebugProcess, PositionManager> factory);
-  
+
 }
index 7d15ce9c419a3c83db9dd63cf5d7d9e22d0c1e9c..bca8159ee988112cdc76d845d2f4397cd4149049 100644 (file)
@@ -32,11 +32,7 @@ import org.jetbrains.annotations.NotNull;
 import java.util.List;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 2, 2004
- * Time: 7:17:18 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public interface DebugProcess {
   @NonNls String JAVA_STRATUM = "Java";
index ad3a6590e40836c36d83ea9909ce4c8b7127c695..dff6dc30575b26ad1abc23f4e8053665aa3234d6 100644 (file)
@@ -19,11 +19,7 @@ import com.intellij.debugger.DebuggerBundle;
 import com.sun.jdi.*;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 8, 2004
- * Time: 4:38:36 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public class EvaluateExceptionUtil {
   public static final EvaluateException INCONSISTEND_DEBUG_INFO = createEvaluateException(DebuggerBundle.message("evaluation.error.inconsistent.debug.info"));
@@ -38,6 +34,9 @@ public class EvaluateExceptionUtil {
   public static final EvaluateException THREAD_WAS_RESUMED = createEvaluateException(DebuggerBundle.message("evaluation.error.thread.resumed"));
   public static final EvaluateException DEBUG_INFO_UNAVAILABLE = createEvaluateException(DebuggerBundle.message("evaluation.error.debug.info.unavailable"));
 
+  private EvaluateExceptionUtil() {
+  }
+
   public static EvaluateException createEvaluateException(Throwable th) {
     return createEvaluateException(null, th);
   }
index 04031f70dc20f514443bf62f40f5eb1228ff2d50..4f4cb824365249a34eaff9415a236ad8272cdfd0 100644 (file)
@@ -21,11 +21,7 @@ import com.sun.jdi.ReferenceType;
 import java.util.List;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 2, 2004
- * Time: 8:49:42 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public interface VirtualMachineProxy {
   List<ReferenceType> allClasses();
index e425e70408217e9594c2e583c011a7cf97c6be09..457ef1fc6c3329adae25897e55e2c9422be38f28 100644 (file)
@@ -20,11 +20,7 @@ import com.intellij.psi.PsiType;
 import org.jetbrains.annotations.NotNull;
 
 /**
- * Created by IntelliJ IDEA.
- * User: ven
- * Date: Jul 14, 2004
- * Time: 4:45:46 PM
- * To change this template use File | Settings | File Templates.
+ * @author ven
  */
 public interface ExpectedTypeInfo {
   int TYPE_STRICTLY = 0;
@@ -35,19 +31,19 @@ public interface ExpectedTypeInfo {
   PsiMethod getCalledMethod();
 
   @NotNull
-  PsiType getType ();
+  PsiType getType();
 
-  PsiType getDefaultType ();
+  PsiType getDefaultType();
 
   int getKind();
 
-  boolean equals (ExpectedTypeInfo info);
+  boolean equals(ExpectedTypeInfo info);
 
   String toString();
 
   ExpectedTypeInfo[] intersect(ExpectedTypeInfo info);
 
-  boolean isArrayTypeInfo ();
+  boolean isArrayTypeInfo();
 
   TailType getTailType();
 
index 5ca384ec26a4e644ff035c8fb1b2b27ca00f5666..807043331c77f7a8bfdc253929adbb0e0c4520ee 100644 (file)
  */
 package com.intellij.codeInsight.editorActions.smartEnter;
 
-import com.intellij.psi.*;
-import com.intellij.psi.util.PsiTreeUtil;
 import com.intellij.openapi.editor.Document;
 import com.intellij.openapi.editor.Editor;
+import com.intellij.psi.*;
+import com.intellij.psi.util.PsiTreeUtil;
 import com.intellij.util.IncorrectOperationException;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: Jul 5, 2004
- * Time: 8:44:32 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public class MissingForeachBodyFixer implements Fixer {
   public void apply(Editor editor, JavaSmartEnterProcessor processor, PsiElement psiElement) throws IncorrectOperationException {
index 7ff5fe9cb4ac5fa064af8f64c5ebd99c63de5434..bbd0c485137dce989ee9c153f568390359b0f0b9 100644 (file)
  */
 package com.intellij.codeInsight.hint.api.impls;
 
+import com.intellij.codeInsight.lookup.LookupElement;
 import com.intellij.lang.parameterInfo.*;
 import com.intellij.psi.*;
 import com.intellij.util.text.CharArrayUtil;
-import com.intellij.codeInsight.lookup.LookupElement;
 import org.jetbrains.annotations.NonNls;
-import org.jetbrains.annotations.Nullable;
 import org.jetbrains.annotations.NotNull;
+import org.jetbrains.annotations.Nullable;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: Feb 1, 2006
- * Time: 3:16:16 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public class AnnotationParameterInfoHandler implements ParameterInfoHandler<PsiAnnotationParameterList,PsiAnnotationMethod> {
   public @Nullable Object[] getParametersForLookup(LookupElement item, ParameterInfoContext context) {
index 6df6a9bc418d2f780ef0cdbedd8cf4f665493f91..301d74869396fedd0e620df286c5c7789b8ecd7d 100644 (file)
  */
 package com.intellij.codeInsight.hint.api.impls;
 
+import com.intellij.codeInsight.lookup.LookupElement;
 import com.intellij.lang.parameterInfo.*;
 import com.intellij.openapi.util.text.StringUtil;
 import com.intellij.psi.*;
 import com.intellij.util.Function;
-import com.intellij.codeInsight.lookup.LookupElement;
 import org.jetbrains.annotations.NonNls;
 import org.jetbrains.annotations.NotNull;
 
 import java.util.Arrays;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: Feb 1, 2006
- * Time: 3:16:09 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public class ReferenceParameterInfoHandler implements ParameterInfoHandler<PsiReferenceParameterList,PsiTypeParameter> {
   public Object[] getParametersForLookup(final LookupElement item, final ParameterInfoContext context) {
index 982c3a680d11ac493b5cf9f860a01ba11ff1d4dc..78055b3dc7a8cf792b7b27b3ce40c515a1b8bf60 100644 (file)
@@ -22,11 +22,7 @@ import com.intellij.codeInsight.template.Result;
 import com.intellij.codeInsight.template.TextResult;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim
- * Date: Nov 7, 2006
- * Time: 12:17:39 AM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim
  */
 public class TextExpression extends Expression {
   private final String myString;
index 3e4c0a155ececa5f3f82ca42bd6fc9f6d5ec879c..b59c698e59544119a6ce24f0883f0a8f7f029f48 100644 (file)
@@ -24,11 +24,7 @@ import java.lang.ref.SoftReference;
 import java.util.ResourceBundle;
 
 /**
- * Created by IntelliJ IDEA.
- * User: yole
- * Date: 01.09.2005
- * Time: 14:37:13
- * To change this template use File | Settings | File Templates.
+ * @author yole
  */
 public class JavadocBundle {
   private static Reference<ResourceBundle> ourBundle;
@@ -38,7 +34,7 @@ public class JavadocBundle {
   private JavadocBundle() {
   }
 
-  public static String message(@PropertyKey(resourceBundle = BUNDLE)String key, Object... params) {
+  public static String message(@PropertyKey(resourceBundle = BUNDLE) String key, Object... params) {
     return CommonBundle.message(getBundle(), key, params);
   }
 
index 26745d57a7bb419be19d3eac2b547de3d77921f7..a9656cdafa261a73cabb70ef1e856913d20b2d00 100644 (file)
@@ -61,11 +61,7 @@ import org.jetbrains.annotations.Nullable;
 import java.util.*;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: Apr 11, 2006
- * Time: 7:45:12 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public class JavaDocumentationProvider implements CodeDocumentationProvider {
   private static final String LINE_SEPARATOR = "\n";
@@ -608,7 +604,7 @@ public class JavaDocumentationProvider implements CodeDocumentationProvider {
     return CodeInsightBundle.message("javadoc.candidates.not.found", text);
   }
 
-  private void createElementLink(@NonNls final StringBuffer sb, final PsiElement element, final String str) {
+  private static void createElementLink(@NonNls final StringBuffer sb, final PsiElement element, final String str) {
     sb.append("&nbsp;&nbsp;<a href=\"psi_element://");
     sb.append(JavaDocUtil.getReferenceText(element.getProject(), element));
     sb.append("\">");
@@ -649,7 +645,7 @@ public class JavaDocumentationProvider implements CodeDocumentationProvider {
         JBPopupFactory.getInstance().createListPopup(new BaseListPopupStep<String>("Choose javadoc root", ArrayUtil.toStringArray(set)) {
           public PopupStep onChosen(final String selectedValue, final boolean finalChoice) {
             BrowserUtil.launchBrowser(selectedValue);
-            return PopupStep.FINAL_CHOICE;
+            return FINAL_CHOICE;
           }
         }).showInBestPositionFor(DataManager.getInstance().getDataContext());
       }
index 1e05e1d4f77454ced3696cbdeebb2787b25489b6..5282be171fe49bdb1e643b97970c588e289b958b 100644 (file)
@@ -26,11 +26,7 @@ import com.intellij.pom.java.LanguageLevel;
 import org.jetbrains.annotations.NotNull;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Jan 22, 2005
- * Time: 11:16:59 PM
- * To change this template use File | Settings | File Templates.
+ * @author max
  */
 public class JavaLanguage extends Language {
   public JavaLanguage() {
@@ -38,7 +34,8 @@ public class JavaLanguage extends Language {
     SyntaxHighlighterFactory.LANGUAGE_FACTORY.addExplicitExtension(this, new SyntaxHighlighterFactory() {
       @NotNull
       public SyntaxHighlighter getSyntaxHighlighter(final Project project, final VirtualFile virtualFile) {
-        return new JavaFileHighlighter(virtualFile != null ? LanguageLevelUtil.getLanguageLevelForFile(virtualFile) : LanguageLevel.HIGHEST);
+        return new JavaFileHighlighter(
+          virtualFile != null ? LanguageLevelUtil.getLanguageLevelForFile(virtualFile) : LanguageLevel.HIGHEST);
       }
     });
   }
index 17558301ca2833e07464583b9eed9e839b50e178..c69bef5561b55586d2d4457f06314c2aaf5ca5f6 100644 (file)
@@ -35,11 +35,7 @@ import com.intellij.psi.util.PsiUtil;
 import org.jetbrains.annotations.NotNull;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Jan 26, 2005
- * Time: 12:40:22 PM
- * To change this template use File | Settings | File Templates.
+ * @author max
  */
 public class JavaParserDefinition implements ParserDefinition {
   private final TokenSet myStringLiteralElementSet = TokenSet.create(JavaElementType.LITERAL_EXPRESSION);
index f60e452428f1f04f2d827a4c92d165ecf8d32f12..35531343cec737bd1b8f2d607d6fda158779efb4 100644 (file)
@@ -30,13 +30,8 @@ import com.intellij.util.text.CharArrayUtil;
 import org.jetbrains.annotations.NonNls;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Jul 21, 2005
- * Time: 7:42:23 PM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
-
 public class ImportsFormatter extends XmlRecursiveElementVisitor {
   private static final Logger LOG = Logger.getInstance("#com.intellij.psi.impl.source.codeStyle.ImportsFormatter");
   
@@ -59,7 +54,7 @@ public class ImportsFormatter extends XmlRecursiveElementVisitor {
     }
   }
 
-  private boolean isPageDirectiveTag(final XmlTag tag) {
+  private static boolean isPageDirectiveTag(final XmlTag tag) {
     return PAGE_DIRECTIVE.equals(tag.getName());
   }
 
@@ -134,7 +129,7 @@ public class ImportsFormatter extends XmlRecursiveElementVisitor {
     }
   }
 
-  private ASTNode findValueToken(final ASTNode node) {
+  private static ASTNode findValueToken(final ASTNode node) {
     ASTNode child = node.getFirstChildNode();
     while (child != null){
       if (child.getElementType() == XmlElementType.XML_ATTRIBUTE_VALUE_TOKEN) return child;
@@ -143,7 +138,7 @@ public class ImportsFormatter extends XmlRecursiveElementVisitor {
     return null;
   }
 
-  private boolean isImportAttribute(final XmlAttribute attribute) {
+  private static boolean isImportAttribute(final XmlAttribute attribute) {
     return IMPORT_ATT.equals(attribute.getName());
   }
 
index 595ef8c5b9d65e45ed140634ae471dbcadcad982..d8932ff1783c2e0973ebe7b1f4781c5cb0f48e21 100644 (file)
@@ -20,17 +20,13 @@ import com.intellij.psi.PsiElement;
 import com.intellij.psi.PsiField;
 import com.intellij.psi.PsiModifier;
 import com.intellij.psi.PsiReference;
-import com.intellij.psi.util.PsiUtil;
 import com.intellij.psi.impl.JavaConstantExpressionEvaluator;
 import com.intellij.psi.javadoc.JavadocTagInfo;
 import com.intellij.psi.javadoc.PsiDocTagValue;
+import com.intellij.psi.util.PsiUtil;
 
 /**
- * Created by IntelliJ IDEA.
- * User: yole
- * Date: 10.08.2005
- * Time: 18:25:51
- * To change this template use File | Settings | File Templates.
+ * @author yole
  */
 public class ValueDocTagInfo implements JavadocTagInfo {
   public String getName() {
@@ -81,6 +77,6 @@ public class ValueDocTagInfo implements JavadocTagInfo {
   }
 
   public PsiReference getReference(PsiDocTagValue value) {
-    return null;  //To change body of implemented methods use File | Settings | File Templates.
+    return null;
   }
 }
index 856f0c4dfe2894a4bd02cf1eab5f815a80b2008a..e1cec1c88e36a0d9f3ab60c08fdadd586116a65f 100644 (file)
  */
 package com.intellij.psi.impl.source.parsing;
 
+import com.intellij.pom.java.LanguageLevel;
 import com.intellij.psi.impl.source.ParsingContext;
 import com.intellij.util.CharTable;
-import com.intellij.pom.java.LanguageLevel;
 
 /**
- * Created by IntelliJ IDEA.
- * User: ik
- * Date: 07.06.2004
- * Time: 18:45:17
- * To change this template use File | Settings | File Templates.
+ * @author ik
  */
 public class JavaParsingContext extends ParsingContext {
   private final DeclarationParsing myDeclarationParsing;
index e9f7f4d77a71fd74aa08ced4007322d0fd5f58d5..264face314018e629ee1c0ee6aea145a9c1e3472 100644 (file)
@@ -20,13 +20,9 @@ import com.intellij.psi.PsiType;
 import com.intellij.psi.PsiTypeVisitorEx;
 
 /**
- * Created by IntelliJ IDEA.
- * User: db
- * Date: Dec 27, 2004
- * Time: 7:20:09 PM
- * To change this template use File | Settings | File Templates.
+ * @author db
  */
-public abstract class PsiExtendedTypeVisitor <X> extends PsiTypeVisitorEx<X> {
+public abstract class PsiExtendedTypeVisitor<X> extends PsiTypeVisitorEx<X> {
   public X visitClassType(final PsiClassType classType) {
     super.visitClassType(classType);
     final PsiClassType.ClassResolveResult result = classType.resolveGenerics();
index 0a3b33895584e6e95bd2d0033f86ebbe4dc8ada0..35c5d72b30834a829514b8caac08d29d62da6e95 100644 (file)
@@ -23,15 +23,10 @@ import org.jetbrains.annotations.NotNull;
 
 import java.util.HashMap;
 import java.util.HashSet;
-import java.util.Iterator;
 import java.util.LinkedList;
 
 /**
- * Created by IntelliJ IDEA.
- * User: db
- * Date: Jan 12, 2005
- * Time: 9:41:45 PM
- * To change this template use File | Settings | File Templates.
+ * @author db
  */
 public class PsiTypeVariableFactory {
   private int myCurrent = 0;
@@ -45,8 +40,8 @@ public class PsiTypeVariableFactory {
   public final void registerCluster(final HashSet<PsiTypeVariable> cluster) {
     myClusters.add(cluster);
 
-    for (final Iterator<PsiTypeVariable> v = cluster.iterator(); v.hasNext();) {
-      myVarCluster.put(new Integer(v.next().getIndex()), cluster);
+    for (final PsiTypeVariable aCluster : cluster) {
+      myVarCluster.put(new Integer(aCluster.getIndex()), cluster);
     }
   }
 
@@ -77,76 +72,75 @@ public class PsiTypeVariableFactory {
         }
 
         return type.accept(new PsiTypeVisitor<Boolean>() {
-                             public Boolean visitType(final PsiType type) {
-                               return Boolean.TRUE;
-                             }
-
-                             public Boolean visitArrayType(final PsiArrayType arrayType) {
-                               return arrayType.getDeepComponentType().accept(this);
-                             }
-
-                             public Boolean visitWildcardType(final PsiWildcardType wildcardType) {
-                               final PsiType bound = wildcardType.getBound();
-
-                               if (bound != null) {
-                                 bound.accept(this);
-                               }
-
-                               return Boolean.TRUE;
-                             }
-
-                             public Boolean visitClassType(final PsiClassType classType) {
-                               final PsiClassType.ClassResolveResult result = classType.resolveGenerics();
-                               final PsiClass aClass = result.getElement();
-                               final PsiSubstitutor aSubst = result.getSubstitutor();
-
-                               if (aClass != null) {
-                                 final PsiManager manager = aClass.getManager();
-                                 final JavaPsiFacade facade = JavaPsiFacade.getInstance(manager.getProject());
-
-                                 if (aClass instanceof PsiTypeParameter) {
-                                   final PsiTypeParameterListOwner owner =
-                                   PsiTreeUtil.getParentOfType(myContext, PsiTypeParameterListOwner.class);
-
-                                   if (owner != null) {
-                                     boolean found = false;
-
-                                     for (PsiTypeParameter typeParameter : PsiUtil.typeParametersIterable(owner)) {
-                                       found = manager.areElementsEquivalent(typeParameter, aClass);
-                                       if (found) break;
-                                     }
-
-                                     if (!found) {
-                                       return Boolean.FALSE;
-                                     }
-                                   }
-                                   else {
-                                     return Boolean.FALSE;
-                                   }
-                                 }
-                                 else if (!facade.getResolveHelper().isAccessible(aClass, myContext, null)) {
-                                   return Boolean.FALSE;
-                                 }
-
-                                 for (PsiTypeParameter parm : PsiUtil.typeParametersIterable(aClass)) {
-                                   final PsiType type = aSubst.substitute(parm);
-
-                                   if (type != null){
-                                     final Boolean b = type.accept(this);
-
-                                     if (! b.booleanValue()){
-                                       return Boolean.FALSE;
-                                     }
-                                   }
-                                 }
-
-                                 return Boolean.TRUE;
-                               }
-                               else {
-                                 return Boolean.FALSE;
-                               }
-                             }
-                           }).booleanValue();
+          public Boolean visitType(final PsiType type) {
+            return Boolean.TRUE;
+          }
+
+          public Boolean visitArrayType(final PsiArrayType arrayType) {
+            return arrayType.getDeepComponentType().accept(this);
+          }
+
+          public Boolean visitWildcardType(final PsiWildcardType wildcardType) {
+            final PsiType bound = wildcardType.getBound();
+
+            if (bound != null) {
+              bound.accept(this);
+            }
+
+            return Boolean.TRUE;
+          }
+
+          public Boolean visitClassType(final PsiClassType classType) {
+            final PsiClassType.ClassResolveResult result = classType.resolveGenerics();
+            final PsiClass aClass = result.getElement();
+            final PsiSubstitutor aSubst = result.getSubstitutor();
+
+            if (aClass != null) {
+              final PsiManager manager = aClass.getManager();
+              final JavaPsiFacade facade = JavaPsiFacade.getInstance(manager.getProject());
+
+              if (aClass instanceof PsiTypeParameter) {
+                final PsiTypeParameterListOwner owner = PsiTreeUtil.getParentOfType(myContext, PsiTypeParameterListOwner.class);
+
+                if (owner != null) {
+                  boolean found = false;
+
+                  for (PsiTypeParameter typeParameter : PsiUtil.typeParametersIterable(owner)) {
+                    found = manager.areElementsEquivalent(typeParameter, aClass);
+                    if (found) break;
+                  }
+
+                  if (!found) {
+                    return Boolean.FALSE;
+                  }
+                }
+                else {
+                  return Boolean.FALSE;
+                }
+              }
+              else if (!facade.getResolveHelper().isAccessible(aClass, myContext, null)) {
+                return Boolean.FALSE;
+              }
+
+              for (PsiTypeParameter parm : PsiUtil.typeParametersIterable(aClass)) {
+                final PsiType type = aSubst.substitute(parm);
+
+                if (type != null) {
+                  final Boolean b = type.accept(this);
+
+                  if (!b.booleanValue()) {
+                    return Boolean.FALSE;
+                  }
+                }
+              }
+
+              return Boolean.TRUE;
+            }
+            else {
+              return Boolean.FALSE;
+            }
+          }
+        }).booleanValue();
       }
 
       public String getPresentableText() {
index b987e2d9d887a6c70f4ba74c8db446215264a9b1..afb4691c2ad948656f0f5b31c676add2ae685d4e 100644 (file)
  */
 package com.intellij.refactoring.typeCook.deductive.builder;
 
-import com.intellij.psi.PsiType;
 import com.intellij.openapi.diagnostic.Logger;
+import com.intellij.psi.PsiType;
 import com.intellij.refactoring.typeCook.deductive.resolver.Binding;
 
 /**
- * Created by IntelliJ IDEA.
- * User: db
- * Date: Jul 20, 2004
- * Time: 6:00:28 PM
- * To change this template use File | Settings | File Templates.
+ * @author db
  */
 public abstract class Constraint {
   private static final Logger LOG = Logger.getInstance("#com.intellij.refactoring.typeCook.deductive.builder.Constraint");
index e60951413694e01bc2cc5f8b9cc5c32776e53201..754b7453bd8b663b45b44ce4d81b9c4e950621f8 100644 (file)
@@ -19,11 +19,7 @@ import com.intellij.psi.PsiType;
 import com.intellij.refactoring.typeCook.deductive.resolver.Binding;
 
 /**
- * Created by IntelliJ IDEA.
- * User: db
- * Date: Jul 20, 2004
- * Time: 6:02:29 PM
- * To change this template use File | Settings | File Templates.
+ * @author db
  */
 public class Subtype extends Constraint {
   public Subtype(PsiType left, PsiType right) {
index 5ea95ae5e86ba8d93983b75d86359780e81d9af3..370c2d2b2989475c2d7cc505ceb0092495db81db 100644 (file)
@@ -22,11 +22,7 @@ import com.intellij.refactoring.typeCook.Util;
 import java.util.HashSet;
 
 /**
- * Created by IntelliJ IDEA.
- * User: db
- * Date: Jul 5, 2004
- * Time: 6:45:51 PM
- * To change this template use File | Settings | File Templates.
+ * @author db
  */
 public class VictimCollector extends Visitor {
   final HashSet<PsiElement> myVictims = new HashSet<PsiElement>();
index 5b11bc030ee3f6ce10d2e66daffaa07c80e76638..1838ae91cb2ed2f72d50698b13cb7f11b9ce7878 100644 (file)
@@ -18,26 +18,20 @@ package com.intellij.refactoring.typeCook.deductive.util;
 import com.intellij.psi.*;
 
 /**
- * Created by IntelliJ IDEA.
- * User: db
- * Date: Jul 5, 2004
- * Time: 6:44:49 PM
- * To change this template use File | Settings | File Templates.
+ * @author db
  */
 public abstract class Visitor extends JavaRecursiveElementWalkingVisitor {
   @Override public void visitPackage(final PsiPackage aPackage) {
     final PsiDirectory[] dirs = aPackage.getDirectories();
 
-    for (int i = 0; i < dirs.length; i++) {
-      final PsiFile[] files = dirs[i].getFiles();
-
-      for (int j = 0; j < files.length; j++) {
-        final PsiFile file = files[j];
+    for (PsiDirectory dir : dirs) {
+      final PsiFile[] files = dir.getFiles();
 
+      for (final PsiFile file : files) {
         if (file instanceof PsiJavaFile) {
           super.visitJavaFile(((PsiJavaFile)file));
         }
       }
     }
   }
-}
\ No newline at end of file
+}
index 384f491b7e6515f1bc0bc97432f407731297ac07..ef35e95fd9099de7a29f3796ccbfc39ed9c51558 100644 (file)
@@ -3,11 +3,7 @@ package com.intellij.codeInsight.completion;
 import com.intellij.JavaTestUtil;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: Oct 14, 2004
- * Time: 4:39:37 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public class CustomFileTypeCompletionTest extends LightCompletionTestCase {
   private static final String BASE_PATH = "/codeInsight/completion/customFileType/";
index 22613915de809f1a88a88661a265235c946cc8bc..772d769a79ab0ba3dfa07ac1912574a298514c55 100644 (file)
@@ -11,11 +11,7 @@ import com.intellij.util.ProcessingContext;
 import org.jetbrains.annotations.NotNull;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: Oct 14, 2004
- * Time: 4:39:37 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public class WordCompletionTest extends CompletionTestCase {
   private static final String BASE_PATH = "/codeInsight/completion/word/";
index 52ac367ed5fe67599f057bef73bd6462d140f38a..a7fabc4e3bf5c98e70e77fd434ec61b2ef9b2752 100644 (file)
  */
 package com.intellij.lang.jsp;
 
-import org.jetbrains.annotations.Nullable;
-import org.jetbrains.annotations.NotNull;
+import com.intellij.psi.PsiFile;
 import com.intellij.xml.XmlElementDescriptor;
 import com.intellij.xml.XmlNSDescriptor;
-import com.intellij.psi.PsiFile;
+import org.jetbrains.annotations.NotNull;
+import org.jetbrains.annotations.Nullable;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: 20.04.2009
- * Time: 17:07:57
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public interface IBaseJspManager {
   XmlNSDescriptor getActionsLibrary(@NotNull PsiFile containingFile);
index f1bb9cf5b4601b964c38502ac4315e5edd0a8bc0..d0bb429508c0ed048275eb96ba9a3e7257a01979 100644 (file)
@@ -22,14 +22,11 @@ import org.jetbrains.annotations.NotNull;
 import java.util.Set;
 
 /**
- * Created by IntelliJ IDEA.
- * User: ik
- * Date: Dec 12, 2005
- * Time: 3:28:22 PM
- * To change this template use File | Settings | File Templates.
+ * @author ik
  */
 public interface JspFileViewProvider extends JspxFileViewProvider {
   @NotNull
   Language getTemplateDataLanguage();
+
   Set<String> getKnownTaglibPrefixes();
 }
index 3c960d432bb000e79fce8dd0ce972e3648347fd2..31784036be6fcf0ee28e279cd17748baeb96d572 100644 (file)
 
 package com.intellij.lang.jsp;
 
-import com.intellij.lang.Language;
 import com.intellij.lang.DependentLanguage;
+import com.intellij.lang.Language;
 import com.intellij.psi.templateLanguages.TemplateLanguageFileViewProvider;
 
 /**
- * Created by IntelliJ IDEA.
- * User: ik
- * Date: Dec 12, 2005
- * Time: 7:40:40 PM
- * To change this template use File | Settings | File Templates.
+ * @author ik
  */
 public interface JspxFileViewProvider extends TemplateLanguageFileViewProvider {
   Language JAVA_HOLDER_METHOD_TREE_LANGUAGE = new JavaHolderMethodTreeLanguage();
 
-  public static class JavaHolderMethodTreeLanguage extends Language implements DependentLanguage{
+  class JavaHolderMethodTreeLanguage extends Language implements DependentLanguage{
     public JavaHolderMethodTreeLanguage() {
       super("JAVA_HOLDER_METHOD_TREE", "");
     }
index 6c0bbe95dde11671d31f0942c5b65fd9d17f70ad..9a8c60220781a6969eb0742b1b30f8d40603092e 100644 (file)
@@ -18,12 +18,8 @@ package com.intellij.lexer;
 import com.intellij.psi.tree.IElementType;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: May 13, 2005
- * Time: 1:34:29 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public interface ELHostLexer {
-  void setElTypes(IElementType elTokenTypeForContent,IElementType elTokenTypeForAttribute);
+  void setElTypes(IElementType elTokenTypeForContent, IElementType elTokenTypeForAttribute);
 }
index 781d055249414454041c65e4c433fdde82f7c00b..5dbc7024806ac86910b2b85c304dcd21c01c0444 100644 (file)
@@ -19,22 +19,20 @@ import com.intellij.xml.XmlAttributeDescriptor;
 import org.jetbrains.annotations.Nullable;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: Jan 26, 2007
- * Time: 7:03:23 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public interface TldAttributeDescriptor extends XmlAttributeDescriptor {
 
   /**
    * Indicates that attribute is a fragment
+   *
    * @return
    */
   boolean isIndirectSyntax();
 
   /**
    * Returns method signature for deferred methods
+   *
    * @return
    */
   @Nullable
@@ -42,6 +40,7 @@ public interface TldAttributeDescriptor extends XmlAttributeDescriptor {
 
   /**
    * Returns value of "type" subtag
+   *
    * @return
    */
   @Nullable
index 416750fafc9e9bd6d14c2535eafb125e6f4a3654..4c88a5aede99569c22acde23d65e507bdc014cb9 100644 (file)
@@ -31,11 +31,7 @@ import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Sep 5, 2003
- * Time: 3:31:23 PM
- * To change this template use Options | File Templates.
+ * @author max
  */
 public abstract class SmartEnterProcessor {
   public abstract boolean process(@NotNull final Project project, @NotNull final Editor editor, @NotNull final PsiFile psiFile);
index f3a99a13781b6343a3f30545b1c47cd416abb0f0..b4ffe858df949a6caa9c57cbfd399615133685bc 100644 (file)
 package com.intellij.diagnostic.logging;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Eugene.Kudelevsky
- * Date: Sep 11, 2009
- * Time: 2:34:25 PM
- * To change this template use File | Settings | File Templates.
+ * @author Eugene.Kudelevsky
  */
 public abstract class IndependentLogFilter extends LogFilter {
   protected IndependentLogFilter(String name) {
index af072abc1c3eda60ba6b658172e6e18a7a0a4d26..a9f20c7be1f37a35b610c75276d00c9f4f4222b1 100644 (file)
@@ -24,11 +24,7 @@ import java.lang.ref.SoftReference;
 import java.util.ResourceBundle;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Aug 29, 2005
- * Time: 11:45:48 PM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
 public class ExecutionBundle {
   private static Reference<ResourceBundle> ourBundle;
index b8ff3c90802fcd6144668fcb911f51ff6afad772..679b00a45050af4c8e5a3812972f77c8753db139 100644 (file)
@@ -20,15 +20,14 @@ import com.intellij.psi.PsiElement;
 import com.intellij.util.IncorrectOperationException;
 
 /**
- * Created by IntelliJ IDEA.
- * User: ik
- * Date: Oct 6, 2004
- * Time: 9:48:15 PM
- * To change this template use File | Settings | File Templates.
+ * @author ik
  */
-public interface PomTransaction{
+public interface PomTransaction {
   PomModelEvent getAccumulatedEvent();
+
   void run() throws IncorrectOperationException;
+
   PsiElement getChangeScope();
+
   PomModelAspect getTransactionAspect();
 }
index 904497e1855ddf3ee19b8580a41fda8072e4407b..ab2cd838c742b62b4ea5b6f39471c22734fcdaed 100644 (file)
@@ -18,21 +18,19 @@ package com.intellij.pom.tree.events;
 import com.intellij.lang.ASTNode;
 
 /**
- * Created by IntelliJ IDEA.
- * User: ik
- * Date: Oct 6, 2004
- * Time: 11:00:28 PM
- * To change this template use File | Settings | File Templates.
+ * @author ik
  */
-
 public interface TreeChange {
   void addChange(ASTNode child, ChangeInfo changeInfo);
 
   ASTNode[] getAffectedChildren();
+
   ChangeInfo getChangeByChild(ASTNode child);
+
   int getChildOffsetInNewTree(ASTNode child);
 
   void composite(TreeChange treeChange);
+
   boolean isEmpty();
 
   void removeChange(ASTNode beforeEqualDepth);
index 8cc8097a10fb076c3088ab656123126ea58717d6..4485fe63e7ff44c2132d1dd838b01b103a0381f5 100644 (file)
@@ -19,17 +19,16 @@ import com.intellij.lang.ASTNode;
 import com.intellij.pom.event.PomChangeSet;
 
 /**
- * Created by IntelliJ IDEA.
- * User: ik
- * Date: Oct 6, 2004
- * Time: 10:56:52 PM
- * To change this template use File | Settings | File Templates.
+ * @author ik
  */
-public interface TreeChangeEvent extends PomChangeSet{
+public interface TreeChangeEvent extends PomChangeSet {
   ASTNode getRootElement();
+
   ASTNode[] getChangedElements();
+
   TreeChange getChangesByElement(ASTNode element);
 
   void addElementaryChange(ASTNode child, ChangeInfo change);
+
   void clear();
 }
index e5c58507f1d07ad715b1be6496627580815a0b8a..223efe6be092ea9624568aa742de064b7bcbc4ca 100644 (file)
@@ -18,11 +18,7 @@ package com.intellij.psi.meta;
 import com.intellij.util.IncorrectOperationException;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: Apr 18, 2005
- * Time: 2:41:47 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public interface PsiWritableMetaData extends PsiMetaData {
   void setName(String name) throws IncorrectOperationException;
index 799cec328b113177c4fcd0c19b0cb0f084c489d4..ebbff102693976a5021ef687441ce06137a0eab1 100644 (file)
@@ -25,11 +25,7 @@ import java.lang.ref.SoftReference;
 import java.util.ResourceBundle;
 
 /**
- * Created by IntelliJ IDEA.
- * User: yole
- * Date: 11.08.2005
- * Time: 16:04:31
- * To change this template use File | Settings | File Templates.
+ * @author yole
  */
 public class UsageViewBundle {
   private static Reference<ResourceBundle> ourBundle;
index a54730d6645a8ab7037cf92315acdc7a776ae8bd..3355e1bdce49dc07cfce4bd1b723eb145b79b6fc 100644 (file)
@@ -18,13 +18,9 @@ package com.intellij.util;
 import com.intellij.openapi.util.Key;
 
 /**
- * Created by IntelliJ IDEA.
- * User: ik
- * Date: 07.06.2004
- * Time: 15:28:03
- * To change this template use File | Settings | File Templates.
+ * @author ik
  */
-public interface CharTable{
+public interface CharTable {
   int PAGE_SIZE = 256;
   Key<CharTable> CHAR_TABLE_KEY = new Key<CharTable>("Char table");
 
index 4dce0422bb929ddbe5fe7b1af2ddaab691f7931e..4bdca9d42a14da33378245eec8560982f0040b4a 100644 (file)
 
 package com.intellij.application.options.colors;
 
-import com.intellij.openapi.editor.colors.TextAttributesKey;
-import com.intellij.openapi.editor.colors.EditorColorsScheme;
 import com.intellij.openapi.editor.colors.EditorColorsManager;
+import com.intellij.openapi.editor.colors.EditorColorsScheme;
+import com.intellij.openapi.editor.colors.TextAttributesKey;
 import com.intellij.openapi.editor.colors.impl.EditorColorsManagerImpl;
-import com.intellij.openapi.options.colors.ColorSettingsPage;
 import com.intellij.openapi.options.colors.AttributesDescriptor;
+import com.intellij.openapi.options.colors.ColorSettingsPage;
 import com.intellij.util.containers.HashMap;
 
 import java.util.Map;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Oct 23, 2008
- * Time: 4:28:18 PM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
 public class ColorSettingsUtil {
+  private ColorSettingsUtil() {
+  }
+
   public static Map<TextAttributesKey, String> keyToDisplayTextMap(final ColorSettingsPage page) {
     final AttributesDescriptor[] attributeDescriptors = page.getAttributeDescriptors();
     final Map<TextAttributesKey, String> displayText = new HashMap<TextAttributesKey, String>();
index cbd28327db47cf1cdbaec27fc7a75617d681f4f5..ac87af126244cc4e96041fe7b67a6cbadc9e3714 100644 (file)
 
 package com.intellij.application.options.editor;
 
-import com.intellij.openapi.options.ConfigurationException;
-import com.intellij.openapi.application.ApplicationBundle;
 import com.intellij.ide.ui.UISettings;
+import com.intellij.openapi.application.ApplicationBundle;
+import com.intellij.openapi.options.ConfigurationException;
 import org.jetbrains.annotations.Nls;
 
 import javax.swing.*;
 import java.awt.*;
-import java.awt.event.ItemListener;
 import java.awt.event.ItemEvent;
+import java.awt.event.ItemListener;
 
 /**
  * @author yole
@@ -76,7 +76,7 @@ public class EditorTabsConfigurable implements EditorOptionsProvider {
   }
 
   public Icon getIcon() {
-    return null;  //To change body of implemented methods use File | Settings | File Templates.
+    return null;
   }
 
   public String getHelpTopic() {
@@ -151,7 +151,7 @@ public class EditorTabsConfigurable implements EditorOptionsProvider {
 
   public boolean isModified() {
     final UISettings uiSettings = UISettings.getInstance();
-    boolean isModified = isModified(myCbModifiedTabsMarkedWithAsterisk, uiSettings.MARK_MODIFIED_TABS_WITH_ASTERISK);;
+    boolean isModified = isModified(myCbModifiedTabsMarkedWithAsterisk, uiSettings.MARK_MODIFIED_TABS_WITH_ASTERISK);
     isModified |= isModified(myEditorTabLimitField, uiSettings.EDITOR_TAB_LIMIT);
     int tabPlacement = ((Integer)myEditorTabPlacement.getSelectedItem()).intValue();
     isModified |= tabPlacement != uiSettings.EDITOR_TAB_PLACEMENT;
@@ -167,7 +167,6 @@ public class EditorTabsConfigurable implements EditorOptionsProvider {
   }
 
   public void disposeUIResources() {
-    //To change body of implemented methods use File | Settings | File Templates.
   }
 
 
@@ -196,16 +195,16 @@ public class EditorTabsConfigurable implements EditorOptionsProvider {
       if (UISettings.TABS_NONE == tabPlacement) {
         text = ApplicationBundle.message("combobox.tab.placement.none");
       }
-      else if (SwingConstants.TOP == tabPlacement) {
+      else if (TOP == tabPlacement) {
         text = ApplicationBundle.message("combobox.tab.placement.top");
       }
-      else if (SwingConstants.LEFT == tabPlacement) {
+      else if (LEFT == tabPlacement) {
         text = ApplicationBundle.message("combobox.tab.placement.left");
       }
-      else if (SwingConstants.BOTTOM == tabPlacement) {
+      else if (BOTTOM == tabPlacement) {
         text = ApplicationBundle.message("combobox.tab.placement.bottom");
       }
-      else if (SwingConstants.RIGHT == tabPlacement) {
+      else if (RIGHT == tabPlacement) {
         text = ApplicationBundle.message("combobox.tab.placement.right");
       }
       else {
index 0655833eaacfd052888ee50f4019fa18abcbcb4c..ab636b1f9fd440dbba0be945f77715c4ad682d42 100644 (file)
@@ -25,11 +25,7 @@ import java.lang.ref.SoftReference;
 import java.util.ResourceBundle;
 
 /**
- * Created by IntelliJ IDEA.
- * User: yole
- * Date: 30.08.2005
- * Time: 18:49:13
- * To change this template use File | Settings | File Templates.
+ * @author yole
  */
 public class CodeEditorBundle {
   private static Reference<ResourceBundle> ourBundle;
index f85b5654ec1ff26caea7ec03d59300640f1b0a25..973825c47c49a1898bc6fe9bb5ab257f94a8ad5c 100644 (file)
@@ -19,11 +19,7 @@ package com.intellij.codeEditor.printing;
 import org.jetbrains.annotations.NonNls;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Alexander.Chernikov
- * Date: 20.10.2006
- * Time: 18:55:05
- * To change this template use File | Settings | File Templates.
+ * @author Alexander.Chernikov
  */
 public interface HelpID {
   @NonNls String EXPORT_TO_HTML = "reference.file.exportToHtml";
index a0f643b15c08a38241eb0bd021a70137056931cb..ab9607da4ab871f9a840477414512bfbd7c1f673 100644 (file)
@@ -34,13 +34,8 @@ import org.jetbrains.annotations.NonNls;
 import java.util.*;
 
 /**
- * Created by IntelliJ IDEA.
- * User: ik
- * Date: 31.01.2003
- * Time: 17:38:14
- * To change this template use Options | File Templates.
+ * @author ik
  */
-
 public class CompletionVariant {
   protected static final TailType DEFAULT_TAIL_TYPE = TailType.SPACE;
 
index 8a330e8cbf0d8d383ed62e25d5eb6c3dbf53e531..7f5bbfb79333c7e1a07a3afb83aa53d0661a3a2d 100644 (file)
@@ -19,11 +19,7 @@ package com.intellij.codeInsight.completion;
 import com.intellij.psi.PsiElement;
 
 /**
- * Created by IntelliJ IDEA.
- * User: ik
- * Date: 17.02.2003
- * Time: 16:53:09
- * To change this template use Options | File Templates.
+ * @author ik
  */
 public interface KeywordChooser{
   String[] getKeywords(CompletionContext context, PsiElement position);
index 7f2c4e5d76b8e917073936857c97ce6c2c296575..3ab6579593ab0718c56cbb47f9c7560db2679035 100644 (file)
@@ -22,11 +22,7 @@ import com.intellij.psi.PsiElement;
 import com.intellij.psi.filters.TrueFilter;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: Oct 14, 2004
- * Time: 4:28:39 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public class SyntaxTableCompletionData extends CompletionData{
   private final SyntaxTable mySyntaxTable;
index 888c1b770006ae3b8ca005e1851020e8bb3c3cdf..5207f8d26456b27027fa8914fb76f949f2c1f79d 100644 (file)
@@ -35,11 +35,7 @@ import org.jetbrains.annotations.Nullable;
 import java.util.*;
 
 /**
- * Created by IntelliJ IDEA.
- * User: mike
- * Date: May 11, 2006
- * Time: 3:48:48 PM
- * To change this template use File | Settings | File Templates.
+ * @author mike
  */
 public class HippieWordCompletionHandler implements CodeInsightActionHandler {
   private static final Key<CompletionState> KEY_STATE = new Key<CompletionState>("HIPPIE_COMPLETION_STATE");
index 73572efff971df1b0ce66e64550e28f80d3d8b62..2b208430901aee2d37245804a7d7601dde25ddbb 100644 (file)
@@ -21,11 +21,7 @@ import com.intellij.psi.PsiElement;
 import org.jetbrains.annotations.NotNull;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: Jan 14, 2005
- * Time: 10:53:20 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public interface Validator<T extends PsiElement> {
   interface ValidationHost {
index 4f6a575093dab69bed3a74fdbd68d4277b66f8a7..fcf6e1cf736122f8faa0106e9717a600be063568 100644 (file)
@@ -27,11 +27,7 @@ import com.intellij.psi.PsiFile;
 import org.jetbrains.annotations.NotNull;
 
 /**
- * Created by IntelliJ IDEA.
- * User: ven
- * Date: Apr 10, 2003
- * Time: 8:52:53 PM
- * To change this template use Options | File Templates.
+ * @author ven
  */
 public class CollapseSelectionHandler implements CodeInsightActionHandler {
   private static final String ourPlaceHolderText = "...";
index 056a160ea5c5a426ba3731548a9903c81e1c4918..66d877fdea6d5de5c8b1b26a3dac6a5953ed2fe4 100644 (file)
 
 package com.intellij.codeInsight.folding.impl.actions;
 
-import com.intellij.codeInsight.actions.BaseCodeInsightAction;
 import com.intellij.codeInsight.CodeInsightActionHandler;
+import com.intellij.codeInsight.actions.BaseCodeInsightAction;
 import com.intellij.codeInsight.folding.impl.CollapseSelectionHandler;
 import com.intellij.openapi.project.DumbAware;
 
 /**
- * Created by IntelliJ IDEA.
- * User: ven
- * Date: Apr 10, 2003
- * Time: 9:59:35 PM
- * To change this template use Options | File Templates.
+ * @author ven
  */
 public class CollapseSelectionAction extends BaseCodeInsightAction implements DumbAware {
   protected CodeInsightActionHandler getHandler() {
index 2c9d2ab01ad6893ee71d3356367b1d6992132178..f2a4f3c5dd5efd4236ab2394d722fb0df267f50a 100644 (file)
@@ -19,13 +19,9 @@ package com.intellij.codeInsight.lookup;
 import com.intellij.openapi.project.Project;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: Sep 29, 2004
- * Time: 7:38:32 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  * @deprecated use InsertHandler
  */
 public interface DeferredUserLookupValue<T> extends PresentableLookupValue {
-  boolean handleUserSelection(LookupItem<T> item,Project project);
+  boolean handleUserSelection(LookupItem<T> item, Project project);
 }
index e28fe445fb073e7946c912b00c31386d6430036d..ab5b1b80d326243e9531b27a93555dc0b221dd9b 100644 (file)
 package com.intellij.codeInsight.lookup;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: Jun 20, 2005
- * Time: 8:12:52 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public interface LookupValueWithPriority {
   int NORMAL = 0;
   int HIGHER = 1;
   int HIGH = 2;
-  
+
   int getPriority();
 }
index 325a9e807367468c7f5d1f8b2db24302bdc33c86..62f892cc584310de9b446be067e3426672c0e260 100644 (file)
@@ -19,11 +19,7 @@ package com.intellij.codeInsight.lookup;
 import com.intellij.psi.PsiElement;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: Jun 20, 2005
- * Time: 8:12:52 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public interface LookupValueWithPsiElement {
   PsiElement getElement();
index 41099f43d33872252becb314075deb6e2b06afeb..883067a81c4bcf2206316e4fe87013ec6ba10490 100644 (file)
@@ -19,15 +19,13 @@ package com.intellij.codeInsight.lookup;
 import java.awt.*;
 
 /**
- * Created by IntelliJ IDEA.
- * User: maxim
- * Date: 10.12.2004
- * Time: 13:25:56
- * To change this template use File | Settings | File Templates.
+ * @author maxim
  * @deprecated use InsertHandler
  */
 public interface LookupValueWithUIHint extends PresentableLookupValue {
   String getTypeHint();
+
   Color getColorHint();
+
   boolean isBold();
 }
index b19d5279876a2579ad78f9d338688a25205b879d..ccb253b00c0f616ff5a6e5292c6f439658eae7f1 100644 (file)
 package com.intellij.codeInsight.lookup;
 
 /**
- * Created by IntelliJ IDEA.
- * User: maxim
- * Date: 10.12.2004
- * Time: 13:38:25
- * To change this template use File | Settings | File Templates.
+ * @author maxim
  * @deprecated use LookupElementBuilder
  */
 public interface PresentableLookupValue {
-   String getPresentation();
+  String getPresentation();
 }
index 523257895803138f2b82e711aff72bec68fab0c2..d88aea4facb0fd1d58618d71268825d8a5089da9 100644 (file)
@@ -20,15 +20,11 @@ import com.intellij.openapi.fileTypes.FileType;
 import com.intellij.openapi.fileTypes.LanguageFileType;
 import com.intellij.openapi.fileTypes.SyntaxHighlighter;
 import com.intellij.psi.PsiFile;
-import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.NonNls;
+import org.jetbrains.annotations.NotNull;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Jul 28, 2008
- * Time: 4:53:26 PM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
 public abstract class FileTypeBasedContextType extends TemplateContextType {
   private final LanguageFileType myFileType;
index 34114bfb0d60067cdac204db482b42ad30fce09b..d4261d2855ac10a3f746ef86c8bed751f1ae8846 100644 (file)
@@ -24,13 +24,12 @@ import java.util.ArrayList;
 import java.util.Set;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: Mar 19, 2004
- * Time: 1:28:54 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public class TemplateImplUtil {
+  private TemplateImplUtil() {
+  }
+
   public static boolean validateTemplateText(String s) {
     TemplateTextLexer lexer = new TemplateTextLexer();
     lexer.start(s);
index 3d3a2ecf03a2ac47da0087a77b21c2681d3f9486..ea7e68cc8472e6418f7429596216b2f592f5e973 100644 (file)
@@ -25,11 +25,7 @@ import java.lang.ref.SoftReference;
 import java.util.ResourceBundle;
 
 /**
- * Created by IntelliJ IDEA.
- * User: yole
- * Date: 31.08.2005
- * Time: 13:20:15
- * To change this template use File | Settings | File Templates.
+ * @author yole
  */
 public class FindBundle {
   private static Reference<ResourceBundle> ourBundle;
index bf96889a8275737b854f8c11af56e5e1e53c6fa9..f0346d309ea0149cbdce631659b89341be6e0f94 100644 (file)
@@ -16,9 +16,9 @@
 
 package com.intellij.find.findUsages;
 
+import com.intellij.openapi.help.HelpManager;
 import com.intellij.openapi.project.Project;
 import com.intellij.openapi.util.text.StringUtil;
-import com.intellij.openapi.help.HelpManager;
 import com.intellij.psi.PsiElement;
 import com.intellij.psi.search.LocalSearchScope;
 import com.intellij.usageView.UsageViewUtil;
@@ -26,11 +26,7 @@ import com.intellij.usageView.UsageViewUtil;
 import javax.swing.*;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Feb 14, 2005
- * Time: 5:40:05 PM
- * To change this template use File | Settings | File Templates.
+ * @author max
  */
 public class CommonFindUsagesDialog extends AbstractFindUsagesDialog {
   private final PsiElement myPsiElement;
index 87003242f15fc6020d9d6cecfb32ed26084d9e9d..ee3a329a2295bd88a9579cdd20b0217ff42bac10 100644 (file)
@@ -22,11 +22,7 @@ import com.intellij.psi.codeStyle.CodeStyleSettings;
 import java.util.ArrayList;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Apr 14, 2005
- * Time: 9:40:01 PM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
 public abstract class AbstractBlockWrapper {
   protected WhiteSpace myWhiteSpace;
index 1c7c996e2810d835dd961cc43d689c12ce3ed21c..a33cd28629f04c7c3e4c51fef15e946b591ba148 100644 (file)
@@ -26,11 +26,7 @@ import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: Dec 6, 2004
- * Time: 8:36:58 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 class CustomFileTypeBraceMatcher implements BraceMatcher {
   public int getBraceTokenGroupId(IElementType tokenType) {
index 7507656cdc6f5d8d915fbf00498c77a43a526bd5..2c9c64c8550bebf08a55fcd276dab1e14727786b 100644 (file)
@@ -24,11 +24,7 @@ import com.intellij.psi.CustomHighlighterTokenType;
 import com.intellij.psi.tree.IElementType;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: Dec 6, 2004
- * Time: 8:34:21 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 class CustomFileTypeQuoteHandler implements QuoteHandler {
   public boolean isClosingQuote(HighlighterIterator iterator, int offset) {
index d40d7693dc625595800070cfb22c28eb369b5184..dea3904e99a7bf4015775957dd8e5251ba0f5fba 100644 (file)
@@ -19,11 +19,7 @@ package com.intellij.ide.highlighter.custom.tokens;
 import com.intellij.psi.tree.IElementType;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: Dec 6, 2004
- * Time: 7:40:12 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public class BraceTokenParser extends PrefixedTokenParser {
   public BraceTokenParser(String prefix, IElementType tokenType) {
index 78bdb6f9288b76bd4eb704db40321a5c07744d31..17edcf03b9e1049f13c0c2153053dbb7baedc473 100644 (file)
@@ -20,11 +20,7 @@ import com.intellij.openapi.fileEditor.FileEditor;
 import com.intellij.openapi.vfs.VirtualFile;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Feb 23, 2005
- * Time: 7:19:02 PM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
 public interface StructureViewWrapper {
   boolean selectCurrentElement(FileEditor fileEditor, VirtualFile file, boolean requestFocus);
index 3dc2b2aecbf6881106da617f10cda674c925fc87..ceab51505f01c638f5b3c8bda8a4df2682eb52e2 100644 (file)
@@ -25,11 +25,7 @@ import java.lang.ref.SoftReference;
 import java.util.ResourceBundle;
 
 /**
- * Created by IntelliJ IDEA.
- * User: yole
- * Date: 12.09.2005
- * Time: 18:03:21
- * To change this template use File | Settings | File Templates.
+ * @author yole
  */
 public class LangBundle {
   private static Reference<ResourceBundle> ourBundle;
index def3b1dbc4b82df6f2ac6531ee4208ddd2ae008b..e36accb9a0546615718d57099c5e422192d21348 100644 (file)
@@ -31,11 +31,7 @@ import gnu.trove.THashMap;
 import java.util.*;
 
 /**
- * Created by IntelliJ IDEA.
- * User: ik
- * Date: Oct 6, 2004
- * Time: 11:11:40 PM
- * To change this template use File | Settings | File Templates.
+ * @author ik
  */
 public class TreeChangeEventImpl implements TreeChangeEvent{
   private final Map<ASTNode, TreeChange> myChangedElements = new THashMap<ASTNode, TreeChange>();
index 3957018cfaebe7ec47caef43f2f58a8db3b5f238..5d1cb0e7f039755fd5f108f0ad9555732b84add7 100644 (file)
@@ -21,11 +21,7 @@ import com.intellij.psi.codeStyle.CodeStyleSettings;
 import org.jetbrains.annotations.Nullable;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Jul 21, 2005
- * Time: 7:53:12 PM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
 public class AbstractPostFormatProcessor {
   protected final CodeStyleSettings mySettings;
diff --git a/platform/lang-impl/src/com/intellij/psi/impl/source/codeStyle/AffectedTextRange.java b/platform/lang-impl/src/com/intellij/psi/impl/source/codeStyle/AffectedTextRange.java
deleted file mode 100644 (file)
index f192707..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright 2000-2009 JetBrains s.r.o.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.intellij.psi.impl.source.codeStyle;
-
-import com.intellij.openapi.util.TextRange;
-
-/**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Nov 26, 2008
- * Time: 6:26:45 PM
- * To change this template use File | Settings | File Templates.
- */
-public class AffectedTextRange extends TextRange {
-  private final boolean myProcessHeadingWhiteSpace;
-
-  public AffectedTextRange(final int startOffset, final int endOffset, final boolean processHeadingWhiteSpace) {
-    super(startOffset, endOffset);
-    myProcessHeadingWhiteSpace = processHeadingWhiteSpace;
-  }
-
-  public AffectedTextRange(final TextRange affectedRange, final boolean processHeadingWhitespace) {
-    this(affectedRange.getStartOffset(), affectedRange.getEndOffset(), processHeadingWhitespace);
-  }
-
-  public boolean isProcessHeadingWhiteSpace() {
-    return myProcessHeadingWhiteSpace;
-  }
-}
index b9603a9bda6f600a2f38b61f70c5b84f898a5c3e..e5592643e0c85c4792d057bea6d95f9e9b6c5132 100644 (file)
 
 package com.intellij.psi.impl.source.parsing;
 
-import com.intellij.psi.impl.source.tree.TreeElement;
-import com.intellij.psi.tree.IElementType;
+import com.intellij.lang.ASTFactory;
 import com.intellij.lexer.Lexer;
 import com.intellij.lexer.LexerUtil;
+import com.intellij.psi.impl.source.tree.TreeElement;
+import com.intellij.psi.tree.IElementType;
 import com.intellij.util.CharTable;
-import com.intellij.lang.ASTFactory;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: 20.04.2009
- * Time: 15:02:52
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public class ParseUtilBase {
   public static TreeElement createTokenElement(Lexer lexer, CharTable table) {
index 41aa37b3dc074d6ac73d8df3d2559c72474a5728..ad10402686e8a81970c5ab93d8a51ab513474c45 100644 (file)
@@ -27,15 +27,11 @@ import java.util.HashMap;
 import java.util.Map;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: Nov 9, 2005
- * Time: 8:10:06 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public class CustomizingReferenceProvider extends PsiReferenceProvider implements CustomizableReferenceProvider {
   private final CustomizableReferenceProvider myProvider;
-  private @Nullable Map<CustomizableReferenceProvider.CustomizationKey, Object> myOptions;
+  private @Nullable Map<CustomizationKey, Object> myOptions;
 
   public CustomizingReferenceProvider(@NotNull CustomizableReferenceProvider provider) {
     myProvider = provider;
@@ -43,7 +39,7 @@ public class CustomizingReferenceProvider extends PsiReferenceProvider implement
   
   public <Option> void addCustomization(CustomizableReferenceProvider.CustomizationKey<Option> key, Option value) {
     if (myOptions == null) {
-      myOptions = new HashMap<CustomizableReferenceProvider.CustomizationKey, Object>(5);
+      myOptions = new HashMap<CustomizationKey, Object>(5);
     }
     myOptions.put(key,value);
   }
@@ -56,7 +52,7 @@ public class CustomizingReferenceProvider extends PsiReferenceProvider implement
     return referencesByElement;
   }
 
-  public void setOptions(@Nullable Map<CustomizableReferenceProvider.CustomizationKey, Object> options) {
+  public void setOptions(@Nullable Map<CustomizationKey, Object> options) {
     myOptions = options;  // merge ?
   }
 
index 66d574f2f1adb88ef36ce7558783116286660e8a..f2ec53652e85956b8d34a925f2ee9c9258dadcae 100644 (file)
@@ -25,11 +25,7 @@ import java.lang.ref.SoftReference;
 import java.util.ResourceBundle;
 
 /**
- * Created by IntelliJ IDEA.
- * User: yole
- * Date: 02.09.2005
- * Time: 16:41:11
- * To change this template use File | Settings | File Templates.
+ * @author yole
  */
 public class ToolsBundle {
   private static Reference<ResourceBundle> ourBundle;
index 9366e4925a05f8c74f7008b885d73bb171d9a620..8a3fc56d323d7413f433d9ea0743572ee6e3f91a 100644 (file)
 package com.intellij.ide;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Dec 20, 2004
- * Time: 10:55:14 PM
- * To change this template use File | Settings | File Templates.
+ * @author max
  */
 public interface AutoScrollToSourceOptionProvider {
   boolean isAutoScrollMode();
+
   void setAutoScrollMode(boolean state);
 }
index 291f6678c06e344c68b4195bdb92d761e742cbff..d604862e8a6484374b6a8d1a0e069fe90a823a19 100644 (file)
@@ -25,11 +25,7 @@ import java.lang.ref.SoftReference;
 import java.util.ResourceBundle;
 
 /**
- * Created by IntelliJ IDEA.
- * User: yole
- * Date: 25.08.2005
- * Time: 19:03:38
- * To change this template use File | Settings | File Templates.
+ * @author yole
  */
 public class IdeBundle {
   private static Reference<ResourceBundle> ourBundle;
index 03cdfd51d94972baa199d8557bcb2146cdbc8459..cad7bc4c1b61c219391851b8d36047dd0a9495be 100644 (file)
@@ -23,17 +23,17 @@ import com.intellij.openapi.actionSystem.Presentation;
 import com.intellij.openapi.project.DumbAware;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Dec 19, 2004
- * Time: 7:38:56 PM
- * To change this template use File | Settings | File Templates.
+ * @author max
  */
 public abstract class TreeCollapseAllActionBase extends AnAction implements DumbAware {
   public void actionPerformed(AnActionEvent e) {
     TreeExpander expander = getExpander(e.getDataContext());
-    if (expander == null) return;
-    if (!expander.canCollapse()) return;
+    if (expander == null) {
+      return;
+    }
+    if (!expander.canCollapse()) {
+      return;
+    }
     expander.collapseAll();
   }
 
index 11e6c7d37ed0181d4d3aeae2e63243897962a1b2..897a17a188632879f8d567621eb64eec30f31695 100644 (file)
@@ -23,11 +23,7 @@ import com.intellij.openapi.actionSystem.Presentation;
 import com.intellij.openapi.project.DumbAware;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Dec 19, 2004
- * Time: 7:41:17 PM
- * To change this template use File | Settings | File Templates.
+ * @author max
  */
 public abstract class TreeExpandAllActionBase extends AnAction implements DumbAware {
   protected abstract TreeExpander getExpander(DataContext dataContext);
index 8c343bfeff89e6224791e263c24dd1a2be944bf0..e3ad5c08158c1290d44efc4550b815cf66ece410 100644 (file)
@@ -862,16 +862,16 @@ public class PluginManager {
         return loader;
       }
       catch (NoSuchMethodException e) {
-        e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
+        e.printStackTrace();
       }
       catch (IOException e) {
-        e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
+        e.printStackTrace();
       }
       catch (IllegalAccessException e) {
-        e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
+        e.printStackTrace();
       }
       catch (InvocationTargetException e) {
-        e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
+        e.printStackTrace();
       }
     }
 
index 2c5230466968d6130417a81d08c3a5acd1a62faf..42fda764171edde05ea0e54e0a7494268bb53010 100644 (file)
@@ -24,11 +24,7 @@ import java.lang.ref.SoftReference;
 import java.util.ResourceBundle;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Aug 31, 2005
- * Time: 6:02:17 PM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
 public class DiffBundle {
   private static Reference<ResourceBundle> ourBundle;
index 1ea24a804b650d7743592c1fa1ca183d0af2539a..933ddf21f4c56f7747d1a0edf423890e71fba3ca 100644 (file)
@@ -24,11 +24,7 @@ import java.lang.ref.SoftReference;
 import java.util.ResourceBundle;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Sep 2, 2005
- * Time: 5:11:42 PM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
 public class EditorBundle {
   private static Reference<ResourceBundle> ourBundle;
index d0eb6924b96d4ebcd2cc7b898a0cb1fb6f403086..d80d5704d80d84351216f085b102b8fc679c1afa 100644 (file)
@@ -24,11 +24,7 @@ import java.lang.ref.SoftReference;
 import java.util.ResourceBundle;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Sep 1, 2005
- * Time: 6:05:22 PM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
 public class OptionsBundle {
   private static Reference<ResourceBundle> ourBundle;
index 23da2c2ece760d0791bec6067fc601d35cfbf318..073ad46a336c7c47515776170a1116d32f705605 100644 (file)
@@ -24,11 +24,7 @@ import java.lang.ref.SoftReference;
 import java.util.ResourceBundle;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Aug 24, 2005
- * Time: 3:50:25 PM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
 public class VcsBundle {
   private static Reference<ResourceBundle> ourBundle;
index 0da9c32ea75ddc6d0815301225afbc06fb576ab2..4ac3fb2c493e8dee622c8362605b2fed8cf99fb2 100644 (file)
@@ -25,11 +25,7 @@ import java.lang.ref.SoftReference;
 import java.util.ResourceBundle;
 
 /**
- * Created by IntelliJ IDEA.
- * User: yole
- * Date: 02.09.2005
- * Time: 17:46:54
- * To change this template use File | Settings | File Templates.
+ * @author yole
  */
 public class VfsBundle {
   private static Reference<ResourceBundle> ourBundle;
index 6eff713e84aa2f1328049e1d89d276999a8c43cf..38acce0c509bb9078d4d5ebb43cee17c1afc98c5 100644 (file)
@@ -18,13 +18,12 @@ package com.intellij.ui;
 import javax.swing.*;
 
 /**
- * Created by IntelliJ IDEA.
- * User: beg
- * Date: Oct 11, 2004
- * Time: 10:01:36 PM
- * To change this template use File | Settings | File Templates.
+ * @author beg
  */
 public class ScrollPaneFactory {
+  private ScrollPaneFactory() {
+  }
+
   public static JScrollPane2 createScrollPane() {
     return new JScrollPane2();
   }
index 40178d964e0d45ebb7dbb21fd82d488f10ccf4cc..899ea86b9069d02b05bf0b54813638547ced1544 100644 (file)
@@ -23,16 +23,15 @@ import java.util.HashMap;
 import java.util.Map;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Feb 17, 2005
- * Time: 4:22:50 PM
- * To change this template use File | Settings | File Templates.
+ * @author max
  */
 @SuppressWarnings({"HardCodedStringLiteral"})
 public class UI {
   private static final Map<String, Color> ourColors = new HashMap<String, Color>();
 
+  private UI() {
+  }
+
   static {
     ourColors.put("panel.border.color", new Color(102, 101, 84));
     ourColors.put("panel.separator.color", new Color(180, 179, 169));
@@ -43,11 +42,11 @@ public class UI {
     ourColors.put("link.pressed.foreground", new Color(240, 0, 0));
     ourColors.put("link.visited.foreground", new Color(128, 0, 128));
 
-    ourColors.put("bar.separator.foreground", UI.getColor("panel.separator.color"));
+    ourColors.put("bar.separator.foreground", getColor("panel.separator.color"));
     ourColors.put("bar.selected.separator.foreground", new Color(232, 231, 228));
     ourColors.put("bar.background", UIUtil.getPanelBackground());
     ourColors.put("bar.hover.background", UIUtil.getTreeSelectionBackground());
-    ourColors.put("bar.selected.background", UI.getColor("panel.custom.background"));
+    ourColors.put("bar.selected.background", getColor("panel.custom.background"));
     ourColors.put("bar.hover.frame.foreground", UIUtil.getTreeSelectionBackground().darker());
 
     ourColors.put("popup.selected.background", UIUtil.getTreeSelectionBackground());
@@ -65,7 +64,7 @@ public class UI {
 
     ourColors.put("toolbar.background", UIUtil.getPanelBackgound());
     ourColors.put("toolbar.hover.background", UIUtil.getTreeSelectionBackground());
-    ourColors.put("toolbar.selected.background", UI.getColor("panel.custom.background"));
+    ourColors.put("toolbar.selected.background", getColor("panel.custom.background"));
     ourColors.put("toolbar.hover.frame.foreground", UIUtil.getTreeSelectionBackground().darker());
 
     ourColors.put("speedsearch.background", new Color(244, 249, 181));
index 81e7608a635f6a7937ffeef342be68c8d6d10940..89328ddfb4288fde08c550bc11d3ed0c412f1539 100644 (file)
@@ -78,7 +78,7 @@ public class AsyncProcessIcon extends AnimatedIcon {
             try {
               sleep(15000);
             } catch (InterruptedException e1) {
-              e1.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
+              e1.printStackTrace();
             }
           }
         };
@@ -87,7 +87,7 @@ public class AsyncProcessIcon extends AnimatedIcon {
         try {
           sleeper.join();
         } catch (InterruptedException e1) {
-          e1.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
+          e1.printStackTrace();
         }
       }
     });
@@ -103,4 +103,4 @@ public class AsyncProcessIcon extends AnimatedIcon {
   public boolean isDisposed() {
     return myAnimator.isDisposed();
   }
-}
\ No newline at end of file
+}
index 4c221bc95e11bb9defa3317a4ba40b462e99591d..1cc4fb59610e8ba8ea236628472da70fa2989ce7 100644 (file)
@@ -28,11 +28,7 @@ import javax.swing.*;
 import java.awt.*;
 
 /**
- * Created by IntelliJ IDEA.
- * User: cdr
- * Date: Feb 21, 2005
- * Time: 7:14:29 PM
- * To change this template use File | Settings | File Templates.
+ * @author cdr
  */
 public class DocumentFragmentTooltipRenderer implements TooltipRenderer {
   private final DocumentFragment myDocumentFragment;
index 975208e16dff3147f58bf347d47bd5187984b102..3e0b118e953e65044242e79401596d472ab9b4d5 100644 (file)
@@ -24,11 +24,7 @@ import java.lang.ref.SoftReference;
 import java.util.ResourceBundle;
 
 /**
- * Created by IntelliJ IDEA.
- * User: yole
- * Date: 31.08.2005
- * Time: 18:13:15
- * To change this template use File | Settings | File Templates.
+ * @author yole
  */
 public class DiagnosticBundle {
   private static Reference<ResourceBundle> ourBundle;
index 9dc628dad2b857b12d383fb2ba09318d5825fe63..76f774269fa60cfe4c5c3632d3b0f0ee22bd7105 100644 (file)
@@ -20,9 +20,9 @@ import com.intellij.openapi.actionSystem.AnAction;
 import com.intellij.openapi.actionSystem.AnActionEvent;
 import com.intellij.openapi.actionSystem.Presentation;
 import com.intellij.openapi.extensions.PluginId;
+import com.intellij.openapi.project.DumbAware;
 import com.intellij.openapi.ui.Messages;
 import com.intellij.openapi.util.IconLoader;
-import com.intellij.openapi.project.DumbAware;
 import com.intellij.util.net.IOExceptionDialog;
 
 import java.io.IOException;
@@ -30,11 +30,7 @@ import java.util.ArrayList;
 import java.util.Arrays;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lloix
- * Date: May 24, 2006
- * Time: 2:47:54 PM
- * To change this template use File | Settings | File Templates.
+ * @author lloix
  */
 public class ActionInstallPlugin extends AnAction implements DumbAware {
   final private static String updateMessage = IdeBundle.message("action.update.plugin");
index 27fe7313172cc8f0d897472a5d1f7434ccd1aaf8..40e9ca3535abb3bcefd3da75ed92089ab3161182 100644 (file)
@@ -25,15 +25,10 @@ import com.intellij.openapi.ui.Messages;
 import com.intellij.openapi.util.IconLoader;
 
 import java.io.IOException;
-import java.text.MessageFormat;
 import java.util.ArrayList;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lloix
- * Date: May 24, 2006
- * Time: 3:19:45 PM
- * To change this template use File | Settings | File Templates.
+ * @author lloix
  */
 public class ActionUninstallPlugin extends AnAction implements DumbAware {
   final private static String promptTitle = IdeBundle.message("title.plugin.uninstall");
@@ -95,7 +90,7 @@ public class ActionUninstallPlugin extends AnAction implements DumbAware {
       //  not empty - issue warning instead of simple prompt.
       ArrayList<IdeaPluginDescriptorImpl> dependant = host.getDependentList(pluginDescriptor);
       if (dependant.size() > 0) {
-        message = MessageFormat.format(IdeBundle.message("several.plugins.depend.on.0.continue.to.remove"), pluginDescriptor.getName());
+        message = IdeBundle.message("several.plugins.depend.on.0.continue.to.remove", pluginDescriptor.getName());
         actualDelete = (Messages.showYesNoDialog(host.getMainPanel(), message, promptTitle, Messages.getQuestionIcon()) == 0);
       }
 
index 90c3c6130858349889ae210ee0aa1ebb58d5b0ae..9a50cabaae16089f09b5d9dfe7403f8ce0716a19 100644 (file)
@@ -18,14 +18,13 @@ package com.intellij.idea;
 import java.io.*;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Jan 4, 2005
- * Time: 10:06:20 PM
- * To change this template use File | Settings | File Templates.
+ * @author max
  */
 public class Launcher {
-    @SuppressWarnings({"HardCodedStringLiteral"})
+  private Launcher() {
+  }
+
+  @SuppressWarnings({"HardCodedStringLiteral"})
     public static void main(String[] args) throws InterruptedException {
         String javaVmExecutablePath = System.getProperty("java.home") + File.separator + "bin" + File.separator + "java";
         String classpath = System.getProperty("java.class.path");
index 943e0260f41b73412704f8a322d0b809ec90e78b..a587f26bebff7d1cc754842a7ae665d55b59378f 100644 (file)
@@ -219,7 +219,7 @@ public class TextComponentEditor extends UserDataHolderBase implements Editor {
   }
 
   public boolean hasHeaderComponent() {
-    return false;  //To change body of implemented methods use File | Settings | File Templates.
+    return false;
   }
 
   @Nullable
index fc4553613208fe33f2378bf9c547db6fac33b606..acae6299b1a59bbda8cf06e7f468090cc4a605e3 100644 (file)
@@ -24,11 +24,7 @@ import java.lang.ref.SoftReference;
 import java.util.ResourceBundle;
 
 /**
- * Created by IntelliJ IDEA.
- * User: yole
- * Date: 31.08.2005
- * Time: 17:41:39
- * To change this template use File | Settings | File Templates.
+ * @author yole
  */
 public class FileTypesBundle {
   private static Reference<ResourceBundle> ourBundle;
index c4a6279d5eddb589ad9159543f2f2e29a0d653dd..4b32fa0826b8f06dc75251e3111fa74b12e0836d 100644 (file)
@@ -19,11 +19,7 @@ package com.intellij.openapi.fileTypes;
 import com.intellij.lang.Language;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: Mar 15, 2006
- * Time: 7:42:03 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public class PlainTextLanguage extends Language {
 
index afd1ba4be9eef10a2d0c5ea55ee17812eacb1c35..b82961fbe4e0855105305a1fe7e9445392baf45d 100644 (file)
 package com.intellij.openapi.progress.util;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 19, 2004
- * Time: 5:15:09 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public interface ProgressIndicatorListener {
-  public void cancelled();
+  void cancelled();
 
-  public void stopped();
+  void stopped();
 }
index be1bfd4eb494f0cc602a45d5640ff0d4044529e9..05aeee2797213d6b554a880d48f61e117b4d82bf 100644 (file)
 package com.intellij.openapi.progress.util;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 19, 2004
- * Time: 5:23:48 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
-public class ProgressIndicatorListenerAdapter implements ProgressIndicatorListener{
-  //should return whether to stop processing
+public class ProgressIndicatorListenerAdapter implements ProgressIndicatorListener {
+  /**
+   * should return whether to stop processing
+   */
   public void cancelled() {
   }
 
-  //should return whether to stop processing
+  /**
+   * should return whether to stop processing
+   */
   public void stopped() {
   }
 }
index 7890c9f1e76eafa81e37db00011a2816d7ee71f1..111d5957abe09d3ff0dd2f4fabf1c52999ca7cb1 100644 (file)
@@ -18,17 +18,10 @@ package com.intellij.openapi.progress.util;
 import com.intellij.openapi.project.Project;
 
 import javax.swing.*;
-import java.util.List;
-import java.util.ArrayList;
-import java.util.Iterator;
 import java.util.LinkedList;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lex
- * Date: Apr 19, 2004
- * Time: 5:10:44 PM
- * To change this template use File | Settings | File Templates.
+ * @author lex
  */
 public class ProgressWindowWithNotification extends ProgressWindow {
   private final LinkedList<ProgressIndicatorListener> myListeners = new LinkedList<ProgressIndicatorListener>();
@@ -51,15 +44,13 @@ public class ProgressWindowWithNotification extends ProgressWindow {
 
   public void cancel() {
     super.cancel();
-    for (Iterator<ProgressIndicatorListener> iterator = myListeners.iterator(); iterator.hasNext();) {
-      ProgressIndicatorListener progressIndicatorListener = iterator.next();
+    for (final ProgressIndicatorListener progressIndicatorListener : myListeners) {
       progressIndicatorListener.cancelled();
     }
   }
 
   public synchronized void stop() {
-    for (Iterator<ProgressIndicatorListener> iterator = myListeners.iterator(); iterator.hasNext();) {
-      ProgressIndicatorListener progressIndicatorListener = iterator.next();
+    for (final ProgressIndicatorListener progressIndicatorListener : myListeners) {
       progressIndicatorListener.stopped();
     }
     super.stop();
index 00977d47cab40349ae5a705b0dc721fa7466d2a4..b7ba16704a85fe1d1d2c0aaf93309a96916c9bbb 100644 (file)
@@ -24,13 +24,8 @@ import javax.swing.*;
 import java.util.List;
 
 /**
- * Created by IntelliJ IDEA.
- * User: pti
- * Date: Jun 24, 2005
- * Time: 10:44:40 PM
- * To change this template use File | Settings | File Templates.
+ * @author pti
  */
-
 class NoUpdatesDialog extends AbstractUpdateDialog {
 
   protected NoUpdatesDialog(final boolean canBeParent, final List<PluginDownloader> updatePlugins, boolean enableLink) {
index 956dc5413691c7bb0b82bf4beac5ed18a7b31fa7..e6aaf219f12d42951b0dc2495306dbb45f92059e 100644 (file)
@@ -43,13 +43,8 @@ import java.util.*;
 import java.util.List;
 
 /**
- * Created by IntelliJ IDEA.
- * User: pti
- * Date: Jun 10, 2005
- * Time: 12:39:08 PM
- * To change this template use File | Settings | File Templates.
+ * @author pti
  */
-
 public class UpdateSettingsConfigurable extends BaseConfigurable implements SearchableConfigurable {
   private UpdatesSettingsPanel myUpdatesSettingsPanel;
   private boolean myCheckNowEnabled = true;
index 2c08b139ed9859cc7a7abce9b05bbb0e4244c55b..544dc29fd9767237cca24f1de974b68a160b7b59 100644 (file)
@@ -51,11 +51,7 @@ import java.util.*;
 import java.util.List;
 
 /**
- * Created by IntelliJ IDEA.
- * User: pti
- * Date: Mar 18, 2005
- * Time: 7:32:41 PM
- * To change this template use File | Settings | File Templates.
+ * @author pti
  */
 public class WelcomeScreen {
   private JPanel myWelcomePanel;
@@ -738,8 +734,8 @@ public class WelcomeScreen {
     protected void paintBackground(Graphics g) {
       Dimension dimension = getSize();
       int state = getPopState();
-      if (state != ActionButtonComponent.NORMAL) {
-        if (state == ActionButtonComponent.POPPED) {
+      if (state != NORMAL) {
+        if (state == POPPED) {
           g.setColor(BUTTON_POPPED_COLOR);
           g.fillRect(0, 0, dimension.width, dimension.height);
         }
@@ -752,7 +748,7 @@ public class WelcomeScreen {
         g.setColor(getNormalButtonColor());
         g.fillRect(0, 0, dimension.width, dimension.height);
       }
-      if (state == ActionButtonComponent.PUSHED) {
+      if (state == PUSHED) {
         g.setColor(BUTTON_PUSHED_COLOR);
         g.fillRect(0, 0, dimension.width, dimension.height);
       }
@@ -771,14 +767,14 @@ public class WelcomeScreen {
     }
 
     public int getPopState() {
-      if (myKeypressedButton == this) return ActionButtonComponent.PUSHED;
-      if (myKeypressedButton != null) return ActionButtonComponent.NORMAL;
+      if (myKeypressedButton == this) return PUSHED;
+      if (myKeypressedButton != null) return NORMAL;
       if (mySelectedColumn == myColumnIdx &&
           mySelectedRow == myRowIdx &&
           mySelectedGroup == myGroupIdx) {
-        return ActionButtonComponent.POPPED;
+        return POPPED;
       }
-      return ActionButtonComponent.NORMAL;
+      return NORMAL;
     }
 
     private void setupListeners(final JPanel panel) {
index 6ee0a4388b7124d451ab045576fcbe02682b693c..e853068ae736d1d94b219c918e7bcc4ecb08a3ab 100644 (file)
@@ -21,11 +21,7 @@ import javax.swing.*;
 import java.awt.*;
 
 /**
- * Created by IntelliJ IDEA.
- * User: pti
- * Date: Mar 29, 2005
- * Time: 9:23:39 PM
- * To change this template use File | Settings | File Templates.
+ * @author pti
  */
 public class WelcomeScrollablePanel extends JPanel implements Scrollable{
 
index 1203c287e1163e3abaa772001d2e5adc219aade8..aa82c0a55cacc4b87b11d3b30ff121400495f1c2 100644 (file)
@@ -21,11 +21,7 @@ import java.io.DataOutput;
 import java.io.IOException;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Dmitry.Shtukenberg
- * Date: Apr 28, 2004
- * Time: 4:36:27 PM
- * To change this template use File | Settings | File Templates.
+ * @author Dmitry.Shtukenberg
  */
 public class WriteableTIntObjectMapAdapter <V> implements WriteableMap<V> {
   private final TIntObjectHashMap<V> hashmap;
index b8c1b35c5b162aa4a13fa6b9ffaae2d2c4c00ece..4123eab292db8daefbe2df68f8da787a58cd9a79 100755 (executable)
@@ -26,12 +26,8 @@ import gnu.trove.THashSet;
 import java.util.Set;
 
 /**
-* Created by IntelliJ IDEA.
-* User: cdr
-* Date: Oct 2, 2009
-* Time: 2:41:53 PM
-* To change this template use File | Settings | File Templates.
-*/
+ * @author cdr
+ */
 public class FileTreeAccessFilter implements VirtualFileFilter {
   protected final Set<VirtualFile> myAddedClasses = new THashSet<VirtualFile>();
 
@@ -44,7 +40,6 @@ public class FileTreeAccessFilter implements VirtualFileFilter {
     return (fileType == StdFileTypes.JAVA || fileType == StdFileTypes.CLASS) && !file.getName().equals("package-info.java");
   }
 
-  
   public void allowTreeAccessForFile(VirtualFile file) {
     myAddedClasses.add(file);
   }
index e7fd45df182529d838cd61cddbdc5204367edf50..7525d2dcaac242580b42f87f13b4fe0ba74de436 100644 (file)
@@ -24,12 +24,8 @@ import com.intellij.psi.PsiFile;
 import org.jetbrains.annotations.NotNull;
 
 /**
-* Created by IntelliJ IDEA.
-* User: Maxim.Mossienko
-* Date: 01.10.2009
-* Time: 21:44:31
-* To change this template use File | Settings | File Templates.
-*/
+ * @author Maxim.Mossienko
+ */
 public class MockCreateParameterInfoContext implements CreateParameterInfoContext {
   private Object[] myItems;
   private PsiElement myHighlightedElement;
index 130203c3df56fee4f9ec4ca77c36ba6ac8142dc2..381cd202d420a4b6807fcc16fbf8e4a2778772c9 100644 (file)
@@ -21,12 +21,8 @@ import com.intellij.psi.PsiElement;
 import java.awt.*;
 
 /**
-* Created by IntelliJ IDEA.
-* User: Maxim.Mossienko
-* Date: 01.10.2009
-* Time: 21:43:55
-* To change this template use File | Settings | File Templates.
-*/
+ * @author Maxim.Mossienko
+ */
 public class MockParameterInfoUIContext<T extends PsiElement> implements ParameterInfoUIContext {
   private boolean enabled;
   private String text;
index bbace0d1e49301f7128bd16ff8948dac9758db75..b05219b8fecf2c6e68066f0aad54d7618fdfb63b 100644 (file)
@@ -19,11 +19,7 @@ import com.intellij.usages.Usage;
 import com.intellij.usages.UsageView;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Dec 22, 2004
- * Time: 9:04:56 PM
- * To change this template use File | Settings | File Templates.
+ * @author max
  */
 public class IncludeUsageAction extends IncludeExcludeActionBase {
   protected void process(Usage[] usages, UsageView usageView) {
index a3b96da82664b152dcc701496c481ef54f67757a..5c2a20db0c4fd374e1663050d69f2db7a0f8da5a 100644 (file)
  */
 package com.intellij.usages.impl;
 
+import com.intellij.usageView.UsageViewBundle;
 import com.intellij.usages.TextChunk;
 import com.intellij.usages.UsageGroup;
 import com.intellij.usages.UsageViewSettings;
-import com.intellij.usageView.UsageViewBundle;
 import com.intellij.util.SystemProperties;
 
 import javax.swing.*;
@@ -28,11 +28,7 @@ import java.util.Enumeration;
 import java.util.TooManyListenersException;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Dec 22, 2004
- * Time: 4:51:52 PM
- * To change this template use File | Settings | File Templates.
+ * @author max
  */
 class ExporterToTextFile implements com.intellij.ide.ExporterToTextFile {
   private final UsageViewImpl myUsageView;
index 7f97e3e724ae0ab51e4a0ac466e7e66f1fc7fda8..fbd45e4e071f8e835a2e48471e9a61c877fc5e09 100644 (file)
@@ -32,11 +32,7 @@ import org.jetbrains.annotations.Nullable;
 import javax.swing.*;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Dec 17, 2004
- * Time: 9:34:53 PM
- * To change this template use File | Settings | File Templates.
+ * @author max
  */
 public class UsageTypeGroupingRule implements UsageGroupingRule {
   public UsageGroup groupUsage(Usage usage) {
index b6901648da43e9ab5cd3d447a8ab1616a6342cb2..84f15eea063e2c1646bac0428bab17f8a29f146a 100644 (file)
@@ -19,13 +19,10 @@ import com.intellij.psi.PsiElement;
 import com.intellij.usages.Usage;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Dec 17, 2004
- * Time: 9:35:13 PM
- * To change this template use File | Settings | File Templates.
+ * @author max
  */
 public interface PsiElementUsage extends Usage {
   PsiElement getElement();
+
   boolean isNonCodeUsage();
 }
index df9304c75a8281f345f1990a0f03407a59b51dab..6a018ebc4033a3ad6c4a75885a20904b9b9305b6 100644 (file)
@@ -19,11 +19,7 @@ import com.intellij.openapi.vfs.VirtualFile;
 import com.intellij.usages.Usage;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Dec 17, 2004
- * Time: 5:21:01 PM
- * To change this template use File | Settings | File Templates.
+ * @author max
  */
 public interface UsageInFile extends Usage {
   VirtualFile getFile();
index eee1adbe8d8e054272c3e69add647a5e25d8e625..8b45bc7678630eb04de19e5ba98ad5670fc4641a 100644 (file)
@@ -18,11 +18,7 @@ package com.intellij.usages.rules;
 import com.intellij.openapi.vfs.VirtualFile;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Dec 22, 2004
- * Time: 4:51:02 PM
- * To change this template use File | Settings | File Templates.
+ * @author max
  */
 public interface UsageInFiles {
   VirtualFile[] getFiles();
index 823f99f70eeb62006f6eb8e6d1b7dacd99e7cb4e..9c7c607a9a7ef955f24bc3f6d1c8e9cfb7309c78 100644 (file)
@@ -19,11 +19,7 @@ import com.intellij.openapi.roots.OrderEntry;
 import com.intellij.usages.Usage;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Dec 26, 2004
- * Time: 9:22:35 PM
- * To change this template use File | Settings | File Templates.
+ * @author max
  */
 public interface UsageInLibrary extends Usage {
   OrderEntry getLibraryEntry();
index 29e8c8feedf90abc40cb680b0e97c23749d088ef..d931d5ee3ffb6ce4d04874e9c639defb2a479816 100644 (file)
@@ -19,11 +19,7 @@ import com.intellij.openapi.module.Module;
 import com.intellij.usages.Usage;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Dec 16, 2004
- * Time: 5:33:37 PM
- * To change this template use File | Settings | File Templates.
+ * @author max
  */
 public interface UsageInModule extends Usage {
   Module getModule();
index eb7f88cfc9b7d98a2ef0eba4b719fac88a62ad0f..a0ab4f6bba8b955b752dccf766b005d137bccd09 100644 (file)
@@ -28,11 +28,7 @@ import org.jetbrains.annotations.NotNull;
 import javax.swing.*;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Dec 16, 2004
- * Time: 5:44:32 PM
- * To change this template use File | Settings | File Templates.
+ * @author max
  */
 public class UsageNodeTreeBuilderTest extends TestCase {
   protected void setUp() throws Exception {
@@ -83,11 +79,11 @@ public class UsageNodeTreeBuilderTest extends TestCase {
     assertEquals("[Even[1[0, 2], 2[12, 14], 3[102]], Odd[1[1, 3], 2[13, 15], 3[101, 103, 105]], 5[10003, 10001, 10002]]", groupNode.toString());
   }
 
-  private Usage createUsage(int index) {
+  private static Usage createUsage(int index) {
     return new MockUsage(index);
   }
 
-  private GroupNode buildUsageTree(int[] indices, UsageGroupingRule[] rules) {
+  private static GroupNode buildUsageTree(int[] indices, UsageGroupingRule[] rules) {
     Usage[] usages = new Usage[indices.length];
     for (int i = 0; i < usages.length; i++) {
       usages[i] = createUsage(indices[i]);
index 237517c328666f49e29095e2ef18cf7cedb16084..95e0ed3f95f2a4677493368edbd1117e6a8e1304 100644 (file)
@@ -28,11 +28,7 @@ import java.util.MissingResourceException;
 import java.util.ResourceBundle;
 
 /**
- * Created by IntelliJ IDEA.
- * User: yole
- * Date: 11.08.2005
- * Time: 18:06:12
- * To change this template use File | Settings | File Templates.
+ * @author yole
  */
 public class CommonBundle {
   @NonNls private static final String BUNDLE = "messages.CommonBundle";
@@ -107,7 +103,7 @@ public class CommonBundle {
   }
 
   public static String getLoadingTreeNodeText() {
-    return CommonBundle.message("tree.node.loading");
+    return message("tree.node.loading");
   }
 
   public static String getOkButtonText(){
@@ -115,32 +111,32 @@ public class CommonBundle {
   }
 
   public static String getYesButtonText(){
-    return CommonBundle.message("button.yes");
+    return message("button.yes");
   }
 
   public static String getNoButtonText(){
-    return CommonBundle.message("button.no");
+    return message("button.no");
   }
 
   public static String getContinueButtonText(){
-    return CommonBundle.message("button.continue");
+    return message("button.continue");
   }
 
 
   public static String getYesForAllButtonText() {
-    return CommonBundle.message("button.yes.for.all");
+    return message("button.yes.for.all");
   }
 
   public static String getCloseButtonText() {
-    return CommonBundle.message("button.close");
+    return message("button.close");
   }
 
   public static String getNoForAllButtonText() {
-    return CommonBundle.message("button.no.for.all");
+    return message("button.no.for.all");
   }
 
   public static String getApplyButtonText() {
-    return CommonBundle.message("button.apply");
+    return message("button.apply");
   }
 
 }
index fd56249f08ae8c194bf28bedfd0bcc26482f1957..404a935616b5d5cb7fdd6c847b16f422b7d14202 100644 (file)
 package com.intellij.openapi.util.text;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: May 5, 2008
- * Time: 10:28:06 PM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
 public class StringHash {
   private static final long initialHash = 0xe12398c6d9ae3b8aL;  // initial values
index 400aab51349a3afc6190fce8a82aca724142c368..ef5cc676d4929a512563867eb0e7e5054ec8942f 100644 (file)
@@ -18,18 +18,14 @@ package com.intellij.util.containers;
 import com.intellij.openapi.diagnostic.Logger;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Dmitry.Shtukenberg
- * Date: Jun 8, 2004
- * Time: 4:31:32 PM
- * To change this template use File | Settings | File Templates.
+ * @author Dmitry.Shtukenberg
  */
 public final class VariableWidthIntArray implements Cloneable {
   private static final Logger LOG = Logger.getInstance("#com.intellij.util.containers.VariableWidthIntArray");
 
-  private int intArray[] = null;
-  private short shortArray[] = null;
-  private byte byteArray[] = null;
+  private int[] intArray = null;
+  private short[] shortArray = null;
+  private byte[] byteArray = null;
 
   private final int minValue;
   private final int maxValue;
@@ -106,9 +102,9 @@ public final class VariableWidthIntArray implements Cloneable {
 
   public Object clone() throws CloneNotSupportedException {
     VariableWidthIntArray arr = (VariableWidthIntArray)super.clone();
-    if( intArray != null ) { arr.intArray = (int[])intArray.clone(); }
-    if( shortArray != null ) { arr.shortArray = (short[])shortArray.clone(); }
-    if( byteArray != null ) { arr.byteArray = (byte[])byteArray.clone(); }
+    if( intArray != null ) { arr.intArray = intArray.clone(); }
+    if( shortArray != null ) { arr.shortArray = shortArray.clone(); }
+    if( byteArray != null ) { arr.byteArray = byteArray.clone(); }
     return arr;
   }
 
index f3ff83370fe168d792667ff6a94f74adaf2c8b23..88cc75384728fe12f1b948c2e256065370a4b84b 100644 (file)
 package com.intellij.util.text;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: Dec 16, 2006
- * Time: 7:31:01 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public interface CharSequenceBackedByArray extends CharSequence {
   char[] getChars();
+
   void getChars(char[] dst, int dstOffset);
 }
index 7993330c1b5568a2e92a7d9744720ec1ccccba5b..9eb46784997187799c4f7adccd4efe719cfaf550 100644 (file)
 package com.intellij.util.text;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Jan 6, 2005
- * Time: 11:32:22 PM
- * To change this template use File | Settings | File Templates.
+ * @author max
  */
 public class MergingCharSequence implements CharSequence {
   private final CharSequence s1;
index 2d704e42f14e1bd6f0a9e2778820b7c58349b9e1..8e1510092a7206d2598842934c5c52c3324d9f9d 100644 (file)
@@ -19,19 +19,15 @@ package com.intellij.util.ui;
 import com.intellij.openapi.util.Pair;
 
 import javax.swing.*;
-import java.util.Map;
-import java.util.HashMap;
 import java.awt.*;
+import java.util.HashMap;
+import java.util.Map;
 
 /**
- * Created by IntelliJ IDEA.
- * User: yole
- * Date: 02.09.2005
- * Time: 19:53:02
- * To change this template use File | Settings | File Templates.
+ * @author yole
  */
 public class MappingListCellRenderer extends DefaultListCellRenderer {
-  private final Map<Object,String> myValueMap;
+  private final Map<Object, String> myValueMap;
 
   public MappingListCellRenderer(final Map<Object, String> valueMap) {
     myValueMap = valueMap;
@@ -39,7 +35,7 @@ public class MappingListCellRenderer extends DefaultListCellRenderer {
 
   public MappingListCellRenderer(final Pair<Object, String>... valuePairs) {
     myValueMap = new HashMap<Object, String>();
-    for(Pair<Object, String> valuePair: valuePairs) {
+    for (Pair<Object, String> valuePair : valuePairs) {
       myValueMap.put(valuePair.getFirst(), valuePair.getSecond());
     }
   }
index c81f768a0c293d1835055733f77993eec67c4fce..c4a0624ec99c3ad934f0c782b30af2ae3bcdc7ea 100644 (file)
@@ -20,11 +20,7 @@ import junit.framework.Assert;
 import junit.framework.TestCase;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lvo
- * Date: Oct 24, 2005
- * Time: 11:24:04 AM
- * To change this template use File | Settings | File Templates.
+ * @author lvo
  */
 public class ObjectCacheTest extends TestCase {
   public void testCacheFiniteness() {
@@ -59,7 +55,7 @@ public class ObjectCacheTest extends TestCase {
 
   final private static HashMap removedPairs = new HashMap();
 
-  private class CacheDeletedPairsListener implements ObjectCache.DeletedPairsListener {
+  private static class CacheDeletedPairsListener implements ObjectCache.DeletedPairsListener {
     public void objectRemoved(Object key, Object value) {
       removedPairs.put(key, value);
     }
index 6058d5083990dc717ee93659784460adbcc5d43f..9349da6d1ffcff4a8653ade62befe2f77e2baf81 100644 (file)
@@ -43,7 +43,7 @@ public interface ChangeListFilteringStrategy {
 
     @Nullable
     public JComponent getFilterUI() {
-      return null;  //To change body of implemented methods use File | Settings | File Templates.
+      return null;
     }
 
     public void setFilterBase(List<CommittedChangeList> changeLists) {
@@ -60,4 +60,4 @@ public interface ChangeListFilteringStrategy {
       return changeLists;
     }
   };
-}
\ No newline at end of file
+}
index 47755eaa47dddfd153ed2ccbfd83e2bf8f83ee2a..a496978c104d7f83ea8a322c7ed9c5fe197cd580 100644 (file)
@@ -19,11 +19,7 @@ import com.intellij.openapi.vcs.history.VcsRevisionNumber;
 import org.jetbrains.annotations.Nullable;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Jul 29, 2005
- * Time: 12:34:09 AM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
 public class MergeData {
   public byte[] ORIGINAL;
index 6f97efa684e2648794b532224b7d3e6eae631425..59394120fd94e182b106a0bdfa469cda711a268b 100644 (file)
@@ -20,18 +20,14 @@ import com.intellij.openapi.actionSystem.Presentation;
 import com.intellij.openapi.project.Project;
 import com.intellij.openapi.vcs.AbstractVcs;
 import com.intellij.openapi.vcs.ProjectLevelVcsManager;
-import com.intellij.openapi.vcs.impl.VcsBackgroundableActions;
 import com.intellij.openapi.vcs.diff.DiffProvider;
 import com.intellij.openapi.vcs.diff.RevisionSelector;
 import com.intellij.openapi.vcs.history.VcsRevisionNumber;
+import com.intellij.openapi.vcs.impl.VcsBackgroundableActions;
 import com.intellij.openapi.vfs.VirtualFile;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Sep 7, 2005
- * Time: 3:06:05 PM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
 public class SelectAndCompareWithSelectedRevisionAction extends AbstractVcsAction{
   protected void actionPerformed(VcsContext vcsContext) {
@@ -39,6 +35,9 @@ public class SelectAndCompareWithSelectedRevisionAction extends AbstractVcsActio
     final VirtualFile file = vcsContext.getSelectedFiles()[0];
     final Project project = vcsContext.getProject();
     final AbstractVcs vcs = ProjectLevelVcsManager.getInstance(project).getVcsFor(file);
+    if (vcs == null) {
+      return;
+    }
     RevisionSelector selector = vcs.getRevisionSelector();
     final DiffProvider diffProvider = vcs.getDiffProvider();
 
index 3b35c34bc34ef3f9fbf0adec6f4635363d04e54b..3d3367c6db760701bc2c3d077578670312da9859 100644 (file)
@@ -148,11 +148,9 @@ public class LineStatusTrackerManager implements ProjectComponent {
   }
 
   public void initComponent() {
-    //To change body of implemented methods use File | Settings | File Templates.
   }
 
   public void disposeComponent() {
-    //To change body of implemented methods use File | Settings | File Templates.
   }
 
   private void dispose() {
index 9383be85396c92b21b03ce799ed2ed3a03d2de21..714f316239134f88025767285ba35f509f3ea754 100644 (file)
@@ -19,11 +19,7 @@ import com.intellij.openapi.vcs.AbstractVcs;
 import org.jetbrains.annotations.NotNull;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Irina.Chernushina
- * Date: 28.05.2009
- * Time: 13:30:26
- * To change this template use File | Settings | File Templates.
+ * @author Irina.Chernushina
  */
 public interface AllVcsesI {
   void registerManually(@NotNull AbstractVcs vcs);
index fb26e88a0ad44d1ca6adee7e4674b058b182f502..f2728161ef13b14303c08231da702e816d194413 100644 (file)
@@ -24,11 +24,7 @@ import org.jetbrains.annotations.NotNull;
 import javax.swing.*;
 
 /**
-* Created by IntelliJ IDEA.
-* User: Maxim.Mossienko
-* Date: 13.04.2009
-* Time: 18:02:30
-* To change this template use File | Settings | File Templates.
+* @author Maxim.Mossienko
 */
 public class PsiBackedSmartStepIntoVariant<T extends PsiNamedElement & NavigationItem> extends XSmartStepIntoVariant {
   private final T myElement;
index 52b297fc408d0ddf3849c181a19882a50c69f079..b144facc94e4b555e5bfc536deafb1c7c2311f33 100644 (file)
@@ -24,14 +24,8 @@ import java.io.InputStreamReader;
 import java.util.Stack;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Jul 13, 2005
- * Time: 11:05:20 PM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
-
-
 public class CvsConflictsParser {
   private static final String RIGHT = "<<<<<<<";
   private static final String LEFT = "=======";
index b0b8de5d366100f0533e4a5f82ccefd1b8012aeb..c822b5856b6dcea9bbd13770c1a9eaea35f88e43 100644 (file)
@@ -17,7 +17,6 @@ package com.intellij.cvsSupport2.actions.merge;
 
 import com.intellij.cvsSupport2.CvsUtil;
 import com.intellij.cvsSupport2.util.CvsVfsUtil;
-import com.intellij.openapi.diagnostic.Logger;
 import com.intellij.openapi.vcs.VcsException;
 import com.intellij.openapi.vcs.merge.MergeData;
 import com.intellij.openapi.vcs.merge.MergeProvider;
@@ -29,15 +28,9 @@ import java.io.FileInputStream;
 import java.io.IOException;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Jul 29, 2005
- * Time: 12:48:39 AM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
 public class CvsMergeProvider implements MergeProvider {
-  private static final Logger LOG = Logger.getInstance("#com.intellij.cvsSupport2.actions.merge.CvsMergeProvider");
-
   @NotNull
   public MergeData loadRevisions(final VirtualFile file) throws VcsException {
     return parseConflictsInFile(file).createData();
@@ -56,9 +49,8 @@ public class CvsMergeProvider implements MergeProvider {
       @NotNull
       public MergeData createData() throws VcsException {
         try {
-          BufferedInputStream input = null;
+          BufferedInputStream input = new BufferedInputStream(new FileInputStream(CvsVfsUtil.getFileFor(file)));
           try {
-            input = new BufferedInputStream(new FileInputStream(CvsVfsUtil.getFileFor(file)));
             final CvsConflictsParser parser = CvsConflictsParser.createOn(input);
             final MergeData mergeData = new MergeData();
             mergeData.ORIGINAL = parser.getCenterVersion().getBytes();
@@ -67,9 +59,7 @@ public class CvsMergeProvider implements MergeProvider {
             return mergeData;
           }
           finally {
-            if (input != null) {
-              input.close();
-            }
+            input.close();
           }
         }
         catch (IOException e) {
index 4c45c93f1a7bc71b2a6d3052d9d1b6f22cc7dae6..5670863d26a0b6162877aff021d4604490c1e7a1 100644 (file)
@@ -20,13 +20,8 @@ import com.intellij.openapi.vcs.merge.MergeData;
 import org.jetbrains.annotations.NotNull;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Jul 14, 2005
- * Time: 5:53:07 PM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
-
 interface MergeDataProvider {
   @NotNull
   MergeData createData() throws VcsException;
index 069fd3d95689d06aefda8183b615cb76fe6b2a50..40082a6799ef575b19b8a6de356ba8f0c62ce183 100644 (file)
@@ -41,11 +41,7 @@ import java.io.IOException;
 import java.util.ArrayList;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Jul 14, 2005
- * Time: 5:44:14 PM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
 class MergeInfo implements MergeDataProvider{
   private final boolean myUseLocal;
index 9a494903aff148c68f8d09c03de88b9105efe0a9..197c402dff6eaf1f15bb9951992c93f6937938d8 100644 (file)
@@ -22,7 +22,6 @@ import javax.swing.*;
 /**
  * User: lesya
  */
-
 public class SshPasswordDialog extends DialogWrapper{
   private JPasswordField myPasswordField;
   private JCheckBox myStoreCheckbox;
index a3fed13a5e93a0b53918a791980669d081a4eefa..ee50e0e112ea4e7884bf2ea0f2b9a0d8ac450248 100644 (file)
  */
 package com.intellij.cvsSupport2.cvsBrowser;
 
-import com.intellij.openapi.util.IconLoader;
 import com.intellij.CommonBundle;
+import com.intellij.openapi.util.IconLoader;
 
-import javax.swing.tree.DefaultMutableTreeNode;
 import javax.swing.*;
+import javax.swing.tree.DefaultMutableTreeNode;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Jul 22, 2005
- * Time: 6:39:50 PM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
 class LoadingNode extends DefaultMutableTreeNode {
   private String myText = CommonBundle.getLoadingTreeNodeText();
index e3da08120b091f27c4aa8aa0a077eb572ea1ffac..69a92928f383a3e4ce934dd7d24fb4a6df762991 100644 (file)
@@ -12,17 +12,16 @@ import java.lang.ref.SoftReference;
 import java.util.ResourceBundle;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Sep 5, 2005
- * Time: 3:20:59 PM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
 public class JavaCvsSrcBundle {
   private static Reference<ResourceBundle> ourBundle;
 
   @NonNls protected static final String PATH_TO_BUNDLE = "org.netbeans.lib.cvsclient.JavaCvsSrcBundle";
 
+  private JavaCvsSrcBundle() {
+  }
+
   public static String message(@PropertyKey(resourceBundle = PATH_TO_BUNDLE)String key, Object... params) {
     return CommonBundle.message(getBundle(), key, params);
   }
index 3f0b01fe595a35dd58591c8aea894cd5e8a05476..f0c28fe6cfe57bc4f11b55d159e9f01fec74dedc 100644 (file)
@@ -12,11 +12,7 @@ import java.lang.ref.SoftReference;
 import java.util.ResourceBundle;
 
 /**
- * Created by IntelliJ IDEA.
- * User: lesya
- * Date: Sep 5, 2005
- * Time: 5:09:57 PM
- * To change this template use File | Settings | File Templates.
+ * @author lesya
  */
 public class SmartCvsSrcBundle {
   private static Reference<ResourceBundle> ourBundle;
index c3f9a1ee64af0c54a7d685ee5b89cce986d9c4d4..7089ef1f0a98acc800161e49633f6da20f451e7c 100644 (file)
@@ -196,42 +196,41 @@ public class GitCommittedChangeListProvider implements CachingCommittedChangesPr
   }
 
   public int getFormatVersion() {
-    return 0;  //To change body of implemented methods use File | Settings | File Templates.
+    return 0;
   }
 
   public void writeChangeList(DataOutput stream, CommittedChangeList list) throws IOException {
-    //To change body of implemented methods use File | Settings | File Templates.
   }
 
   public CommittedChangeList readChangeList(RepositoryLocation location, DataInput stream) throws IOException {
-    return null;  //To change body of implemented methods use File | Settings | File Templates.
+    return null;
   }
 
   public boolean isMaxCountSupported() {
-    return false;  //To change body of implemented methods use File | Settings | File Templates.
+    return false;
   }
 
   public Collection<FilePath> getIncomingFiles(RepositoryLocation location) throws VcsException {
-    return null;  //To change body of implemented methods use File | Settings | File Templates.
+    return null;
   }
 
   public boolean refreshCacheByNumber() {
-    return false;  //To change body of implemented methods use File | Settings | File Templates.
+    return false;
   }
 
   @Nls
   public String getChangelistTitle() {
-    return null;  //To change body of implemented methods use File | Settings | File Templates.
+    return null;
   }
 
   public boolean isChangeLocallyAvailable(FilePath filePath,
                                           @Nullable VcsRevisionNumber localRevision,
                                           VcsRevisionNumber changeRevision,
                                           CommittedChangeList changeList) {
-    return false;  //To change body of implemented methods use File | Settings | File Templates.
+    return false;
   }
 
   public boolean refreshIncomingWithCommitted() {
-    return false;  //To change body of implemented methods use File | Settings | File Templates.
+    return false;
   }
 }
index 4ea809da6f22ca122647e752e4c694457d46a5f2..25b70e008996ca322eae4e138d8757b2cc51df34 100644 (file)
@@ -20,19 +20,16 @@ import com.intellij.psi.PsiElement;
 import com.intellij.psi.PsiPackage;
 import org.jetbrains.annotations.Nls;
 import org.jetbrains.annotations.NotNull;
-import static org.jetbrains.plugins.groovy.annotator.GroovyAnnotator.isDeclarationAssignment;
 import org.jetbrains.plugins.groovy.codeInspection.BaseInspection;
 import org.jetbrains.plugins.groovy.codeInspection.BaseInspectionVisitor;
 import org.jetbrains.plugins.groovy.lang.psi.api.GroovyResolveResult;
 import org.jetbrains.plugins.groovy.lang.psi.api.statements.expressions.GrExpression;
 import org.jetbrains.plugins.groovy.lang.psi.api.statements.expressions.GrReferenceExpression;
 
+import static org.jetbrains.plugins.groovy.annotator.GroovyAnnotator.isDeclarationAssignment;
+
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Medvedev
- * Date: Mar 10, 2009
- * Time: 5:04:31 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Medvedev
  */
 public class GroovyUnresolvedAccessInspection extends BaseInspection {
   protected BaseInspectionVisitor buildVisitor() {
index f38f6af7ade3d8d2e839a3dc8901026872d3732c..673798ef4c9185e42d5914d48e06152f13308606 100644 (file)
@@ -22,19 +22,16 @@ import com.intellij.psi.PsiPackage;
 import com.intellij.psi.PsiType;
 import org.jetbrains.annotations.Nls;
 import org.jetbrains.annotations.NotNull;
-import static org.jetbrains.plugins.groovy.annotator.GroovyAnnotator.isDeclarationAssignment;
 import org.jetbrains.plugins.groovy.codeInspection.BaseInspection;
 import org.jetbrains.plugins.groovy.codeInspection.BaseInspectionVisitor;
 import org.jetbrains.plugins.groovy.lang.psi.api.GroovyResolveResult;
 import org.jetbrains.plugins.groovy.lang.psi.api.statements.expressions.GrExpression;
 import org.jetbrains.plugins.groovy.lang.psi.api.statements.expressions.GrReferenceExpression;
 
+import static org.jetbrains.plugins.groovy.annotator.GroovyAnnotator.isDeclarationAssignment;
+
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Medvedev
- * Date: Mar 10, 2009
- * Time: 4:19:06 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Medvedev
  */
 public class GroovyUntypedAccessInspection extends BaseInspection {
 
index c0e939bc835cbaf3e11411ae2b2287bc6fa9e9d0..7ab74d1f119ce48dc712f5dcba4add5ecbeaae22 100644 (file)
@@ -20,11 +20,11 @@ import com.intellij.openapi.editor.Editor;
 import com.intellij.psi.PsiElement;
 
 /**
- * User: Dmitry.Krasilschikov
+ * @author Dmitry.Krasilschikov
  * Date: 29.07.2008
  */
 public class GroovyCommentBreakerEnterProcessor implements EnterProcessor {
     public boolean doEnter(Editor editor, PsiElement psiElement, boolean isModified) {
-        return false;  //To change body of implemented methods use File | Settings | File Templates.
+        return false;
     }
 }
index b8e507ebac907cc186b42aff53d26178957db863..88a2ef277c63dc6aeb311f5dd4a59bc66a1a6bec 100644 (file)
@@ -22,11 +22,7 @@ import org.jetbrains.plugins.groovy.lang.psi.GroovyPsiElement;
 import org.jetbrains.plugins.groovy.lang.psi.api.statements.expressions.GrExpression;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Dmitry.Krasilschikov
- * Date: 16.02.2009
- * Time: 17:26:49
- * To change this template use File | Settings | File Templates.
+ * @author Dmitry.Krasilschikov
  */
 public interface GrTupleDeclaration extends GroovyPsiElement{
   @NotNull
index 08b3f758c3a0ac85dafab138a949e42f33fa466c..c0f067e0067ec3d76c05056abf39807a49284849 100644 (file)
@@ -28,11 +28,7 @@ import org.jetbrains.plugins.groovy.lang.psi.impl.GroovyPsiElementImpl;
 import java.util.Arrays;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Dmitry.Krasilschikov
- * Date: 16.02.2009
- * Time: 17:23:45
- * To change this template use File | Settings | File Templates.
+ * @author Dmitry.Krasilschikov
  */
 public class GrTupleDeclarationImpl extends GroovyPsiElementImpl implements GrTupleDeclaration {
   public GrTupleDeclarationImpl(@NotNull ASTNode node) {
index dbf5ff358986b41f13a354bbd24bc18ed8c4ee4c..a9353171a5cf2cc2d5367dea523dc0cfb5baa2a0 100644 (file)
@@ -22,11 +22,7 @@ import com.intellij.psi.PsiType;
 import com.intellij.psi.scope.PsiScopeProcessor;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Medvedev
- * Date: Apr 1, 2009
- * Time: 7:20:45 PM
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Medvedev
  */
 public interface NonCodeMembersProcessor {
   ExtensionPointName<NonCodeMembersProcessor> EP_NAME = ExtensionPointName.create("org.intellij.groovy.nonCodeProcessor");
index 5c8e81678efa4d97c44e689d2fb798d42eb80624..b698ffae67e82eeaf8f087a9066cc00695aa87e3 100644 (file)
@@ -20,11 +20,7 @@ import com.intellij.ide.util.treeView.smartTree.TreeElement;
 import org.jetbrains.plugins.groovy.structure.elements.impl.GroovyMethodStructureViewElement;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Dmitry.Krasilschikov
- * Date: 06.01.2009
- * Time: 15:02:27
- * To change this template use File | Settings | File Templates.
+ * @author Dmitry.Krasilschikov
  */
 public class GroovyInheritFilter extends InheritedMembersFilter {
   @Override
index 7acc6aa286516170c0d1566282afd1073e45b768..5c0aa23e558040785c75b52d074126b4f79cc9ef 100644 (file)
@@ -22,11 +22,7 @@ import com.intellij.codeInspection.i18n.InvalidPropertyKeyInspection;
 import com.intellij.lang.properties.UnusedMessageFormatParameterInspection;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: 11.02.2009
- * Time: 17:54:45
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public class JavaInspectionToolProvider implements InspectionToolProvider {
   public Class[] getInspectionClasses() {
index 5b2476784151bd22aa5308b27f9c6ebc6df645ec..d32b9507e74471c1701a1df1631e7fcadaa43e0a 100644 (file)
@@ -29,11 +29,7 @@ import org.jetbrains.annotations.Nullable;
 import java.util.List;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: 06.02.2009
- * Time: 21:13:07
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public class JavaCreatePropertyFix extends CreatePropertyFix {
   public JavaCreatePropertyFix() {}
index 41b238431e84305870b5ec2b1fe17ee53aa52a01..f0555f3ccd7abebc2dff8e80675e73b19783e827 100644 (file)
@@ -20,11 +20,7 @@ import com.intellij.openapi.fileTypes.FileTypeFactory;
 import org.jetbrains.annotations.NotNull;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: 11.02.2009
- * Time: 13:56:00
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
 public class PropertiesFileTypeFactory extends FileTypeFactory {
   public void createFileTypes(@NotNull FileTypeConsumer consumer) {
index 0ac70c377804a1a143d74aac891d11370fe2e2d3..10914bb28a1d5c2661f2a38edd65765935901e42 100644 (file)
@@ -19,16 +19,10 @@ import com.intellij.codeInspection.InspectionToolProvider;
 import com.intellij.codeInspection.duplicatePropertyInspection.DuplicatePropertyInspection;
 
 /**
- * Created by IntelliJ IDEA.
- * User: Maxim.Mossienko
- * Date: 11.02.2009
- * Time: 18:23:29
- * To change this template use File | Settings | File Templates.
+ * @author Maxim.Mossienko
  */
-public class PropertiesInspectionToolsProvider implements InspectionToolProvider{
+public class PropertiesInspectionToolsProvider implements InspectionToolProvider {
   public Class[] getInspectionClasses() {
-    return new Class[] {
-      UnusedPropertyInspection.class, DuplicatePropertyInspection.class
-    };
+    return new Class[]{UnusedPropertyInspection.class, DuplicatePropertyInspection.class};
   }
 }
index 10e9f34f0a915f96fdea2bbec189209fd935fc28..9832c3d3c97ae1f5f5713245c88986a031d3c7f5 100644 (file)
@@ -18,11 +18,7 @@ package com.intellij.lang.properties.editor;
 import com.intellij.ide.structureView.StructureViewModel;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Feb 10, 2005
- * Time: 3:13:23 PM
- * To change this template use File | Settings | File Templates.
+ * @author max
  */
 public interface PropertiesGroupingStructureViewModel extends StructureViewModel {
   void setSeparator(String separator);
index 35a4d666248afef633611f0754a3315b916a2651..90a08c81aa4ab1c005df6c23ac7f98d370293932 100644 (file)
@@ -28,11 +28,7 @@ import com.intellij.openapi.project.Project;
 import org.jetbrains.annotations.NotNull;
 
 /**
- * Created by IntelliJ IDEA.
- * User: max
- * Date: Feb 10, 2005
- * Time: 3:13:23 PM
- * To change this template use File | Settings | File Templates.
+ * @author max
  */
 public class ResourceBundleStructureViewModel implements PropertiesGroupingStructureViewModel {
   private final Project myProject;
diff --git