idea/community.git
4 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Mon, 14 Nov 2016 14:17:19 +0000 (15:17 +0100)]
Merge remote-tracking branch 'origin/master'

4 years agoFix saving the shell path project setting (IDEA-163474)
Dmitry Trofimov [Mon, 14 Nov 2016 14:13:27 +0000 (15:13 +0100)]
Fix saving the shell path project setting (IDEA-163474)

4 years ago[tests] comments appcode/171.961
Roman Shevchenko [Mon, 14 Nov 2016 13:48:59 +0000 (14:48 +0100)]
[tests] comments

4 years ago[Parameter Name Hints] added diagnostic
Yaroslav Lepenkin [Mon, 14 Nov 2016 12:46:34 +0000 (15:46 +0300)]
[Parameter Name Hints] added diagnostic

4 years agoIDEA-163033 ui: fix plugin update dialog undex HiDPI
Aleksey Pivovarov [Mon, 14 Nov 2016 12:57:39 +0000 (15:57 +0300)]
IDEA-163033 ui: fix plugin update dialog undex HiDPI

4 years agodiff: cleanup tests
Aleksey Pivovarov [Mon, 14 Nov 2016 12:42:52 +0000 (15:42 +0300)]
diff: cleanup tests

4 years agomerge: EA-91241 - assert: DiffUtil.getMergeType
Aleksey Pivovarov [Mon, 14 Nov 2016 09:08:09 +0000 (12:08 +0300)]
merge: EA-91241 - assert: DiffUtil.getMergeType

* ensure that "conflict" block is not "unchanged"
  this might've happen for trim/ignore policies

* add tests for three-side cases

4 years agodiff: separate tests for words and inner fragments
Aleksey Pivovarov [Fri, 11 Nov 2016 09:55:37 +0000 (12:55 +0300)]
diff: separate tests for words and inner fragments

4 years agoRuby remote sdk configuration. Processing dialog from terminal + default password
Andrey Vokin [Fri, 11 Nov 2016 13:48:22 +0000 (14:48 +0100)]
Ruby remote sdk configuration. Processing dialog from terminal + default password

4 years agomore compact code
Maxim.Mossienko [Mon, 14 Nov 2016 12:11:47 +0000 (13:11 +0100)]
more compact code

4 years agoannotations.xml syntax checker appcode/171.960
Alexey Kudravtsev [Sat, 12 Nov 2016 11:47:36 +0000 (14:47 +0300)]
annotations.xml syntax checker

4 years agocancel earlier: even when isReadAccessAllowed() or nested runReadAction() are called...
Alexey Kudravtsev [Sat, 12 Nov 2016 09:42:17 +0000 (12:42 +0300)]
cancel earlier: even when isReadAccessAllowed() or nested runReadAction() are called under impatient reader with pending write

4 years agodiagnostics
Alexey Kudravtsev [Fri, 11 Nov 2016 15:23:51 +0000 (18:23 +0300)]
diagnostics

4 years agocleanup
Alexey Kudravtsev [Fri, 11 Nov 2016 13:49:49 +0000 (16:49 +0300)]
cleanup

4 years agoFix PY-21430 "File of this document has been deleted" exception after removing noteb...
Valentina Kiryushkina [Mon, 14 Nov 2016 09:31:27 +0000 (12:31 +0300)]
Fix  PY-21430 "File of this document has been deleted" exception after removing notebook and switching interpreter: Dispose message bus connection for IpnbFilePanel

4 years agoFix PY-21428 Cutting only cell raises ArrayIndexOutOfBoundsException
Valentina Kiryushkina [Mon, 14 Nov 2016 08:26:08 +0000 (11:26 +0300)]
Fix  PY-21428 Cutting only cell raises ArrayIndexOutOfBoundsException

4 years agoFix PY-21427 Double click on the output field inside jupyter notebook raises Unsuppo...
Valentina Kiryushkina [Mon, 14 Nov 2016 08:20:30 +0000 (11:20 +0300)]
Fix  PY-21427 Double click on the output field inside jupyter notebook raises UnsupportedOperationException: use mutable collections instead of EmptyMap, EmptyList

4 years agoFix PY-21429 Duplicate output in Jupyter Notebook
Valentina Kiryushkina [Fri, 11 Nov 2016 18:48:42 +0000 (21:48 +0300)]
Fix PY-21429 Duplicate output in Jupyter Notebook

4 years agoio: Add BaseDataReader.waitFor(long, TimeUnit) appcode/171.958 clion/171.959
Eldar Abusalimov [Mon, 14 Nov 2016 09:50:16 +0000 (12:50 +0300)]
io: Add BaseDataReader.waitFor(long, TimeUnit)

4 years agoreview feedback
Maxim.Mossienko [Mon, 14 Nov 2016 11:38:31 +0000 (12:38 +0100)]
review feedback

4 years agojson schema: pattern properties: better caching - fix review comment for WEB-22649...
irengrig [Mon, 14 Nov 2016 11:33:10 +0000 (12:33 +0100)]
json schema: pattern properties: better caching - fix review comment for WEB-22649 JSON Schema: patternProperties does not work.

4 years agojson schema: improve json files refresh after json schema editing - review comment...
irengrig [Mon, 14 Nov 2016 10:45:37 +0000 (11:45 +0100)]
json schema: improve json files refresh after json schema editing - review comment for  WEB-21418 JSON Schema: if file under the schema is placed in the split Editor tab update comes later than should be

4 years agocatch process canceled exception of pattern match calculation - fix review comment...
irengrig [Mon, 14 Nov 2016 10:11:12 +0000 (11:11 +0100)]
catch process canceled exception of pattern match calculation - fix review comment for WEB-22649 JSON Schema: patternProperties does not work.

4 years agopresort descriptions per file (IDEA-163879)
Anna.Kozlova [Mon, 14 Nov 2016 11:21:32 +0000 (12:21 +0100)]
presort descriptions per file (IDEA-163879)

4 years agofix negative testdata dbe/171.955 phpstorm/171.956
Anna.Kozlova [Mon, 14 Nov 2016 10:22:36 +0000 (11:22 +0100)]
fix negative testdata

4 years agoremove redundant check
Anna.Kozlova [Mon, 14 Nov 2016 10:22:12 +0000 (11:22 +0100)]
remove redundant check

4 years agosmart pointers for different element types should have different hash codes clion/171.951
peter [Mon, 14 Nov 2016 08:28:48 +0000 (09:28 +0100)]
smart pointers for different element types should have different hash codes

4 years agoProcess vfs events asynchroneously (IDEA-109525), first cut appcode/171.934 appcode/171.941 appcode/171.950 clion/171.935 clion/171.936 dbe/171.938 idea/171.940 phpstorm/171.943 pycharm/171.942 pycharm/171.944 pycharm/171.947 pycharm/171.948 rubymine/171.937 rubymine/171.949 webstorm/171.946
Maxim.Mossienko [Sun, 13 Nov 2016 13:15:55 +0000 (14:15 +0100)]
Process vfs events asynchroneously (IDEA-109525), first cut

4 years ago[gui-test] rollback GuiTestCase dependency on script package appcode/171.924 appcode/171.929 appcode/171.933 clion/171.921 clion/171.930 clion/171.932 dbe/171.919 idea/171.920 phpstorm/171.922 phpstorm/171.931 pycharm/171.925 pycharm/171.927 pycharm/171.928 rubymine/171.917 webstorm/171.926
Sergey Karashevich [Sat, 12 Nov 2016 22:39:12 +0000 (01:39 +0300)]
[gui-test] rollback GuiTestCase dependency on script package

4 years ago[gui-test] added ExtendedJListCellReader for JBLists, CheckBoxDriver to click inside...
Sergey Karashevich [Sat, 12 Nov 2016 21:30:27 +0000 (00:30 +0300)]
[gui-test] added ExtendedJListCellReader for JBLists, CheckBoxDriver to click inside checkbox and CheckBoxFixture with corresponding driver; GuiTestUtil.findComboBox() method implemented

4 years ago[vcs-log] better descriptions for IntelliSort
Julia Beliaeva [Sat, 12 Nov 2016 18:46:39 +0000 (21:46 +0300)]
[vcs-log] better descriptions for IntelliSort

4 years ago[vcs-log] minor: remove unused imports
Julia Beliaeva [Sat, 12 Nov 2016 17:31:50 +0000 (20:31 +0300)]
[vcs-log] minor: remove unused imports

4 years ago[vcs-log] minor: rename cleanup -> cleanupOlderVersions parameter
Julia Beliaeva [Sat, 12 Nov 2016 17:06:25 +0000 (20:06 +0300)]
[vcs-log] minor: rename cleanup -> cleanupOlderVersions parameter

4 years ago[vcs-log] minor: static import for PersistentUtil
Julia Beliaeva [Sat, 12 Nov 2016 17:05:23 +0000 (20:05 +0300)]
[vcs-log] minor: static import for PersistentUtil

4 years ago[vcs-log] remove all storage files starting with logId when cleaning up broken indexes
Julia Beliaeva [Sat, 12 Nov 2016 16:59:47 +0000 (19:59 +0300)]
[vcs-log] remove all storage files starting with logId when cleaning up broken indexes

Introduce deleteWithRenamingAllFilesStartingWith for that purpose.

4 years ago[vcs-log] cleanup correct files when index gets corrupted
Julia Beliaeva [Sat, 12 Nov 2016 16:47:12 +0000 (19:47 +0300)]
[vcs-log] cleanup correct files when index gets corrupted

4 years ago[Parameter Name Hints] improve text appcode/171.912 appcode/171.916 clion/171.913 clion/171.915 phpstorm/171.914
Bas Leijdekkers [Fri, 11 Nov 2016 19:15:20 +0000 (20:15 +0100)]
[Parameter Name Hints] improve text

4 years agoIG: rework inspection for performance and accuracy (IDEA-163797)
Bas Leijdekkers [Fri, 11 Nov 2016 19:11:29 +0000 (20:11 +0100)]
IG: rework inspection for performance and accuracy (IDEA-163797)

4 years agoIG: simplify
Bas Leijdekkers [Fri, 11 Nov 2016 19:08:44 +0000 (20:08 +0100)]
IG: simplify

4 years agoIG: remove unnecessary method
Bas Leijdekkers [Fri, 11 Nov 2016 14:42:00 +0000 (15:42 +0100)]
IG: remove unnecessary method

4 years agomake IG test light
Bas Leijdekkers [Thu, 10 Nov 2016 14:44:33 +0000 (15:44 +0100)]
make IG test light

4 years agoextract VfsEventsMerger appcode/171.906 clion/171.907 dbe/171.902 idea/171.905 phpstorm/171.904 pycharm/171.899 pycharm/171.903 pycharm/171.910 pycharm/171.911 rubymine/171.900 webstorm/171.909
Maxim.Mossienko [Sat, 12 Nov 2016 01:29:41 +0000 (02:29 +0100)]
extract VfsEventsMerger

4 years agodon't save class files contents in VFS during bytecode analysis (IDEA-CR-15548)
peter [Fri, 11 Nov 2016 20:12:19 +0000 (21:12 +0100)]
don't save class files contents in VFS during bytecode analysis (IDEA-CR-15548)

4 years agoMake 'Favorites' tool window lazy.
Vassiliy.Kudryashov [Fri, 11 Nov 2016 19:57:52 +0000 (22:57 +0300)]
Make 'Favorites' tool window lazy.

4 years agoCleanup (warnings)
Roman Shevchenko [Fri, 11 Nov 2016 19:59:25 +0000 (20:59 +0100)]
Cleanup (warnings)

4 years ago[platform] on checking for updates, suggests the same baseline build (always)
Roman Shevchenko [Fri, 11 Nov 2016 19:58:10 +0000 (20:58 +0100)]
[platform] on checking for updates, suggests the same baseline build (always)

The code which selected the desired build was failing in cases when builds were distributed across different channels. The commit makes the build selection independent of channel layout.

4 years agoextended logging
Anna.Kozlova [Fri, 11 Nov 2016 19:52:26 +0000 (20:52 +0100)]
extended logging

4 years agoinplace change signature: delegate in template
Anna.Kozlova [Fri, 11 Nov 2016 19:37:30 +0000 (20:37 +0100)]
inplace change signature: delegate in template

4 years agoinplace change signature: ensure focus stays in the editor
Anna.Kozlova [Fri, 11 Nov 2016 18:31:06 +0000 (19:31 +0100)]
inplace change signature: ensure focus stays in the editor

4 years agodispose preview after balloon is closed so no green rec is visible
Anna.Kozlova [Fri, 11 Nov 2016 18:27:27 +0000 (19:27 +0100)]
dispose preview after balloon is closed so no green rec is visible

4 years agoDo not edit shortcuts when a keymap tree expanded/collapsed by double click
Sergey Malenkov [Fri, 11 Nov 2016 19:30:30 +0000 (22:30 +0300)]
Do not edit shortcuts when a keymap tree expanded/collapsed by double click

4 years agoTo allow using Gradle test configuration producers for Kotlin, extract protected...
Dmitry Jemerov [Fri, 11 Nov 2016 18:02:01 +0000 (19:02 +0100)]
To allow using Gradle test configuration producers for Kotlin, extract protected methods for discovering classes/methods based on context

4 years agointroduced PushedFilePropertiesUpdater.filePropertiesChanged(file, condition) for...
Maxim.Mossienko [Fri, 11 Nov 2016 17:53:36 +0000 (18:53 +0100)]
introduced PushedFilePropertiesUpdater.filePropertiesChanged(file, condition) for correct request of reindexing

4 years agodispose preview
Anna.Kozlova [Fri, 11 Nov 2016 17:45:09 +0000 (18:45 +0100)]
dispose preview

4 years agodon't start inspections in dumb mode
Anna.Kozlova [Fri, 11 Nov 2016 17:17:29 +0000 (18:17 +0100)]
don't start inspections in dumb mode
EA-91638 - INRE: FileBasedIndexImpl.handleDumbMode

4 years ago[java] fixes lambda expressions parsing (IDEA-163871)
Roman Shevchenko [Fri, 11 Nov 2016 17:22:09 +0000 (18:22 +0100)]
[java] fixes lambda expressions parsing (IDEA-163871)

4 years agosynchronize everything on SmartPointerTracker
peter [Fri, 11 Nov 2016 08:19:50 +0000 (09:19 +0100)]
synchronize everything on SmartPointerTracker

4 years agoextract FilePointersList to a top-level SmartPointerTracker
peter [Fri, 11 Nov 2016 07:42:43 +0000 (08:42 +0100)]
extract FilePointersList to a top-level SmartPointerTracker

4 years agoinplace change signature: add preview
Anna.Kozlova [Fri, 11 Nov 2016 16:44:19 +0000 (17:44 +0100)]
inplace change signature: add preview

4 years agoJson schema: improve highlighting speed (invalidate all json files corresponding...
irengrig [Fri, 11 Nov 2016 16:30:12 +0000 (17:30 +0100)]
Json schema: improve highlighting speed (invalidate all json files corresponding to the schema on schema change). fixes WEB-21418 JSON Schema: if file under the schema is placed in the split Editor tab update comes later than should be
key: "json.schema.fast.annotation.update" (turned on by default)

4 years agocheck for AbstractMethodError earlier
Egor.Ushakov [Fri, 11 Nov 2016 16:26:46 +0000 (19:26 +0300)]
check for AbstractMethodError earlier

4 years agofixed our classByName not searching the same way as in VirtualMachineProxy
Egor.Ushakov [Fri, 11 Nov 2016 16:14:44 +0000 (19:14 +0300)]
fixed our classByName not searching the same way as in VirtualMachineProxy

4 years agoIDEA-163863 Devkit: mark deprecated attributes in DOM
Yann Cébron [Fri, 11 Nov 2016 16:23:09 +0000 (17:23 +0100)]
IDEA-163863 Devkit: mark deprecated attributes in DOM

4 years agoMerge remote-tracking branch 'origin/master' dbe/171.897
Yann Cébron [Fri, 11 Nov 2016 16:10:38 +0000 (17:10 +0100)]
Merge remote-tracking branch 'origin/master'

4 years agoPlugin descriptors: remove deprecated attribute idea-plugin@version (IDEA-163694)
Yann Cébron [Fri, 11 Nov 2016 16:08:58 +0000 (17:08 +0100)]
Plugin descriptors: remove deprecated attribute idea-plugin@version (IDEA-163694)

4 years agoreliability: make parent dirs before attempting to create output file (EA-90703,...
Maxim.Mossienko [Fri, 11 Nov 2016 16:02:48 +0000 (17:02 +0100)]
reliability: make parent dirs before attempting to create output file (EA-90703,  EA-90062)

4 years agoJava: Moved text message to the resource bundle in the inspection "Non-accessible...
Pavel Dolgov [Fri, 11 Nov 2016 15:48:10 +0000 (18:48 +0300)]
Java: Moved text message to the resource bundle in the inspection "Non-accessible type is exposed" (IDEA-162768)

4 years ago[ui] I/O error handling in "Edit custom settings" action (EA-91670)
Roman Shevchenko [Fri, 11 Nov 2016 15:40:54 +0000 (16:40 +0100)]
[ui] I/O error handling in "Edit custom settings" action (EA-91670)

4 years agoWEB-22649 JSON Schema: patternProperties does not work. dbe/171.894 pycharm/171.893
irengrig [Fri, 11 Nov 2016 15:10:47 +0000 (16:10 +0100)]
WEB-22649 JSON Schema: patternProperties does not work.

4 years agoPY-21399 Backslash in the middle of an escape sequence ends it in PyStringLiteralLexer appcode/171.892 clion/171.896
Mikhail Golubev [Fri, 11 Nov 2016 13:13:57 +0000 (16:13 +0300)]
PY-21399 Backslash in the middle of an escape sequence ends it in PyStringLiteralLexer

Otherwise it might miss the following escaped quote and stop scanning
a string literal earlier than the actual Python lexer.

4 years agoIDEA-CR-15578 final fix `rename A to B and B to A`
Vladimir Krivosheev [Fri, 11 Nov 2016 14:30:18 +0000 (15:30 +0100)]
IDEA-CR-15578 final fix `rename A to B and B to A`

4 years agoallow to cancel emulated breakpoints setup
Egor.Ushakov [Fri, 11 Nov 2016 13:50:41 +0000 (16:50 +0300)]
allow to cancel emulated breakpoints setup

4 years agoswitch back to anchors
Anna.Kozlova [Fri, 11 Nov 2016 12:57:57 +0000 (13:57 +0100)]
switch back to anchors

4 years agojavadoc
Anna.Kozlova [Fri, 11 Nov 2016 12:55:03 +0000 (13:55 +0100)]
javadoc

4 years agoPY-21264 Simplify the code, get rid of the success variable
Alexander Koshevoy [Fri, 11 Nov 2016 11:08:18 +0000 (14:08 +0300)]
PY-21264 Simplify the code, get rid of the success variable

4 years agoIDEA-163730 string literal interning turned off by default
Egor.Ushakov [Fri, 11 Nov 2016 12:24:24 +0000 (15:24 +0300)]
IDEA-163730 string literal interning turned off by default

4 years agoJava: Handle generic parameters in the inspection "Non-accessible type is exposed...
Pavel Dolgov [Fri, 11 Nov 2016 11:48:57 +0000 (14:48 +0300)]
Java: Handle generic parameters in the inspection "Non-accessible type is exposed" (IDEA-162768)

4 years agosimplify PermanentDeleteFix (IDEA-CR-15631)
peter [Fri, 11 Nov 2016 11:44:09 +0000 (12:44 +0100)]
simplify PermanentDeleteFix (IDEA-CR-15631)

4 years agoremove obsolete no-write-action assertion from DialogWrapper (IDEA-CR-15644)
peter [Fri, 11 Nov 2016 11:40:26 +0000 (12:40 +0100)]
remove obsolete no-write-action assertion from DialogWrapper (IDEA-CR-15644)

4 years agouse identity map when inspecting lookup item weights (EA-90364 - INRE: FileBasedIndex...
peter [Wed, 9 Nov 2016 16:18:39 +0000 (17:18 +0100)]
use identity map when inspecting lookup item weights (EA-90364 - INRE: FileBasedIndexImpl.handleDumbMode)

4 years agomodel commit should only fire changes, but to not add scheme — it is pointless
Vladimir Krivosheev [Fri, 11 Nov 2016 12:18:47 +0000 (13:18 +0100)]
model commit should only fire changes, but to not add scheme — it is pointless

4 years agofix testdata appcode/171.889 clion/171.890
Anna.Kozlova [Fri, 11 Nov 2016 11:59:34 +0000 (12:59 +0100)]
fix testdata

4 years agoinplace change signature: ensure detached/keep track of document change offset being...
Anna.Kozlova [Fri, 11 Nov 2016 11:39:42 +0000 (12:39 +0100)]
inplace change signature: ensure detached/keep track of document change offset being invalidated by consequence changes

4 years agoEA-91567 - PIEAE: PsiInvalidElementAccessException.createByNode
Anna.Kozlova [Fri, 11 Nov 2016 09:52:45 +0000 (10:52 +0100)]
EA-91567 - PIEAE: PsiInvalidElementAccessException.createByNode

4 years agoIdentityFilePointer should be removed from myUrlToIdentity cache on dispose phpstorm/171.887
Alexey Kudravtsev [Fri, 11 Nov 2016 07:01:24 +0000 (10:01 +0300)]
IdentityFilePointer should be removed from myUrlToIdentity cache on dispose

4 years agocleanup
Alexey Kudravtsev [Fri, 11 Nov 2016 06:50:53 +0000 (09:50 +0300)]
cleanup

4 years ago[tests] additional test case for for update targeting
Roman Shevchenko [Fri, 11 Nov 2016 10:55:09 +0000 (11:55 +0100)]
[tests] additional test case for for update targeting

4 years agoIDEA-163810 Please make shorter "Anonymous type can be replaced with lambda using...
Tagir Valeev [Fri, 11 Nov 2016 10:39:12 +0000 (17:39 +0700)]
IDEA-163810 Please make shorter "Anonymous type can be replaced with lambda using factory method.." inspection name

4 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Fri, 11 Nov 2016 10:33:00 +0000 (11:33 +0100)]
Merge remote-tracking branch 'origin/master'

4 years agoTake XDG_CONFIG_HOME value from EnvironmentUtil.getEnvironmentMap()
Dmitry Trofimov [Fri, 11 Nov 2016 10:32:33 +0000 (11:32 +0100)]
Take XDG_CONFIG_HOME value from EnvironmentUtil.getEnvironmentMap()

4 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Fri, 11 Nov 2016 10:31:11 +0000 (11:31 +0100)]
Merge remote-tracking branch 'origin/master'

4 years agoIDEA-163730 Incorrect value of logic operation stringVar == "value" - cache string...
Egor.Ushakov [Fri, 11 Nov 2016 10:25:54 +0000 (13:25 +0300)]
IDEA-163730 Incorrect value of logic operation stringVar == "value" - cache string literal references on our side

4 years agoTake ZDOTDIR value from EnvironmentUtil.getEnvironmentMap() (IDEA-162571)
Dmitry Trofimov [Fri, 11 Nov 2016 10:30:04 +0000 (11:30 +0100)]
Take ZDOTDIR value from EnvironmentUtil.getEnvironmentMap() (IDEA-162571)

4 years agoPsiTypesUtil: reverted erroneous changes in getExpectedTypeByParent (IDEA-CR-15590)
Tagir Valeev [Fri, 11 Nov 2016 10:18:08 +0000 (17:18 +0700)]
PsiTypesUtil: reverted erroneous changes in getExpectedTypeByParent (IDEA-CR-15590)

4 years agotemp reject inplace change signature for super methods
Anna.Kozlova [Thu, 10 Nov 2016 18:39:16 +0000 (19:39 +0100)]
temp reject inplace change signature for super methods

4 years agomigrate to junit 5: collapse with static import if assertion was statically imported...
Anna.Kozlova [Thu, 10 Nov 2016 18:28:49 +0000 (19:28 +0100)]
migrate to junit 5: collapse with static import if assertion was statically imported (IDEA-163650)

4 years agoprohibit dialogs and other swing events under write action appcode/171.885 clion/171.886
peter [Fri, 11 Nov 2016 06:52:52 +0000 (07:52 +0100)]
prohibit dialogs and other swing events under write action

4 years agoIDEA-163767: fixed for assignment, tests for assignment and ternary
Tagir Valeev [Fri, 11 Nov 2016 06:24:09 +0000 (13:24 +0700)]
IDEA-163767: fixed for assignment, tests for assignment and ternary

4 years agoIDEA-163767 Simplify optional.isPresent() inspection doesn't suggest simplify trivial...
Tagir Valeev [Fri, 11 Nov 2016 06:14:55 +0000 (13:14 +0700)]
IDEA-163767 Simplify optional.isPresent() inspection doesn't suggest simplify trivial case

4 years agoOptionalUtil#getMapTypeArgument: check nulls; remove 0-arg check
Tagir Valeev [Fri, 11 Nov 2016 05:02:36 +0000 (12:02 +0700)]
OptionalUtil#getMapTypeArgument: check nulls; remove 0-arg check