Skip to content

Commit 8490b7b

Browse files
committed
GH-690: fix NPE in type wrapper that caused property indexing and content-assist problems
1 parent ef71fd1 commit 8490b7b

File tree

1 file changed

+2
-2
lines changed
  • headless-services/commons/commons-java/src/main/java/org/springframework/ide/vscode/commons/jdtls

1 file changed

+2
-2
lines changed

headless-services/commons/commons-java/src/main/java/org/springframework/ide/vscode/commons/jdtls/Wrappers.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2019 Pivotal, Inc.
2+
* Copyright (c) 2019, 2021 Pivotal, Inc.
33
* All rights reserved. This program and the accompanying materials
44
* are made available under the terms of the Eclipse Public License v1.0
55
* which accompanies this distribution, and is available at
@@ -105,7 +105,7 @@ public String name() {
105105
@Override
106106
public int dimensions() {
107107
if (data.getExtras() != null && data.getExtras().containsKey("dimensions")) {
108-
return (Integer) data.getExtras().get("dimenions");
108+
return (Integer) data.getExtras().get("dimensions");
109109
}
110110
return 0;
111111
}

0 commit comments

Comments
 (0)