Commit 4155f09
committed
GH-133: Fix deprecation warnings
```
/home/kshchepanovskyi/IdeaProjects/protobuf-jetbrains-plugin/src/main/java/io/protostuff/jetbrains/plugin/formatter/ProtoLanguageCodeStyleSettingsProvider.java:47: warning: [deprecation] getDefaultCommonSettings() in LanguageCodeStyleSettingsProvider has been deprecated
public CommonCodeStyleSettings getDefaultCommonSettings() {
^
/home/kshchepanovskyi/IdeaProjects/protobuf-jetbrains-plugin/src/main/java/io/protostuff/jetbrains/plugin/formatter/ProtoCodeStyleSettingsProvider.java:34: warning: [deprecation] createSettingsPage(CodeStyleSettings,CodeStyleSettings) in CodeStyleSettingsProvider has been deprecated
public Configurable createSettingsPage(CodeStyleSettings settings, CodeStyleSettings originalSettings) {
^
2 warnings
```1 parent cc764c7 commit 4155f09
File tree
2 files changed
+11
-18
lines changed- src/main/java/io/protostuff/jetbrains/plugin/formatter
2 files changed
+11
-18
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
src/main/java/io/protostuff/jetbrains/plugin/formatter/ProtoLanguageCodeStyleSettingsProvider.java
Lines changed: 8 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 32 | + | |
36 | 33 | | |
37 | 34 | | |
38 | 35 | | |
| |||
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
44 | | - | |
45 | | - | |
46 | 41 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
57 | 49 | | |
58 | 50 | | |
59 | 51 | | |
| |||
0 commit comments