projects
/
idea
/
community.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cf2bf4a
)
make getClass pure
author
peter
<peter@jetbrains.com>
Thu, 17 Nov 2016 09:56:59 +0000
(10:56 +0100)
committer
peter
<peter@jetbrains.com>
Thu, 17 Nov 2016 10:21:32 +0000
(11:21 +0100)
java/jdkAnnotations/java/lang/annotations.xml
patch
|
blob
|
history
diff --git
a/java/jdkAnnotations/java/lang/annotations.xml
b/java/jdkAnnotations/java/lang/annotations.xml
index 572588fb1356867a380a59e79b4e9d76f2282ca3..59f2471b4df773e4be79521a056b9670623df695 100644
(file)
--- a/
java/jdkAnnotations/java/lang/annotations.xml
+++ b/
java/jdkAnnotations/java/lang/annotations.xml
@@
-61,7
+61,12
@@
<item name='java.lang.Iterable java.util.Iterator<T> iterator()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='java.lang.Iterable java.util.Iterator<T> iterator()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
- <item name="java.lang.Readable int read(java.nio.CharBuffer) 0">
+ <item name='java.lang.Object java.lang.Class<?> getClass()'>
+ <annotation name='org.jetbrains.annotations.Contract'>
+ <val name="pure" val="true"/>
+ </annotation>
+ </item>
+ <item name="java.lang.Readable int read(java.nio.CharBuffer) 0">
<annotation name="org.jetbrains.annotations.NotNull" />
</item>
<item name="java.lang.Runtime java.lang.Process exec(java.lang.String[]) 0">
<annotation name="org.jetbrains.annotations.NotNull" />
</item>
<item name="java.lang.Runtime java.lang.Process exec(java.lang.String[]) 0">