IDEA-157763 Settings repository for IDE: unit tests phpstorm/171.979
authorAlexander Lobas <Alexander.Lobas@jetbrains.com>
Tue, 15 Nov 2016 10:53:57 +0000 (13:53 +0300)
committerAlexander Lobas <Alexander.Lobas@jetbrains.com>
Tue, 15 Nov 2016 10:53:57 +0000 (13:53 +0300)
platform/configuration-store-impl/src/StateStorageManagerImpl.kt
platform/configuration-store-impl/src/StreamProviderWrapper.java

index 5e054292a2f55ff40a8ff666dcb9685c3d292402..325f8c27769a47fdf05142748bfabaefac820911 100644 (file)
@@ -60,7 +60,7 @@ open class StateStorageManagerImpl(private val rootTagName: String,
   var streamProvider: StreamProvider?
     get() = streamWrapper
     set (value) {
-      streamWrapper.setStreamProvider(value)
+      streamWrapper.streamProvider = value
     }
 
   // access under storageLock
index 24f0aca09e5fe466295e9fde8ea6bf54dfb8516e..31bc97893348dc682870c70c2a59e8af0fa5ef0a 100644 (file)
@@ -22,6 +22,10 @@ public class StreamProviderWrapper implements StreamProvider {
     return null;
   }
 
+  public StreamProvider getStreamProvider() {
+    return myStreamProvider;
+  }
+
   public void setStreamProvider(@Nullable StreamProvider streamProvider) {
     myStreamProvider = streamProvider;
   }