mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
removed redundant suppression
This commit is contained in:
@@ -1,13 +1,28 @@
|
||||
/*
|
||||
* Copyright 2000-2015 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.codeInsight.folding;
|
||||
|
||||
import com.intellij.openapi.components.ServiceManager;
|
||||
|
||||
public class CodeFoldingSettings {
|
||||
@SuppressWarnings({"WeakerAccess"}) public boolean COLLAPSE_IMPORTS = true;
|
||||
@SuppressWarnings({"WeakerAccess"}) public boolean COLLAPSE_METHODS = false;
|
||||
@SuppressWarnings({"WeakerAccess"}) public boolean COLLAPSE_FILE_HEADER = true;
|
||||
@SuppressWarnings({"WeakerAccess"}) public boolean COLLAPSE_DOC_COMMENTS = false;
|
||||
@SuppressWarnings({"WeakerAccess"}) public boolean COLLAPSE_CUSTOM_FOLDING_REGIONS = false;
|
||||
public boolean COLLAPSE_IMPORTS = true;
|
||||
public boolean COLLAPSE_METHODS = false;
|
||||
public boolean COLLAPSE_FILE_HEADER = true;
|
||||
public boolean COLLAPSE_DOC_COMMENTS = false;
|
||||
public boolean COLLAPSE_CUSTOM_FOLDING_REGIONS = false;
|
||||
|
||||
public static CodeFoldingSettings getInstance() {
|
||||
return ServiceManager.getService(CodeFoldingSettings.class);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2014 JetBrains s.r.o.
|
||||
* Copyright 2000-2015 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.
|
||||
@@ -29,7 +29,7 @@ import java.util.Map;
|
||||
* @author peter
|
||||
*/
|
||||
public class CharsetUtil {
|
||||
@SuppressWarnings("MismatchedQueryAndUpdenateOfCollection")
|
||||
@SuppressWarnings("MismatchedQueryAndUpdateOfCollection")
|
||||
private static final Map<LanguageFileType, Boolean> ourSupportsCharsetDetection = new ConcurrentFactoryMap<LanguageFileType, Boolean>() {
|
||||
@Nullable
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user