@@ -104,7 +104,7 @@ public class ApiServletTest {
104104 StringWriter responseWriter ;
105105
106106 ApiServlet servlet ;
107-
107+
108108 private ConfigDepotImpl originalConfigDepot ;
109109
110110 @ SuppressWarnings ("unchecked" )
@@ -158,7 +158,7 @@ public void cleanupEnvironmentHacks() throws Exception {
158158 smsField .set (null , null );
159159 restoreConfigDepot ();
160160 }
161-
161+
162162 private void setupConfigDepotMock () throws NoSuchFieldException , IllegalAccessException {
163163 Field depotField = ConfigKey .class .getDeclaredField ("s_depot" );
164164 depotField .setAccessible (true );
@@ -170,17 +170,17 @@ private void setupConfigDepotMock() throws NoSuchFieldException, IllegalAccessEx
170170 Mockito .any ()
171171 )).thenReturn (null );
172172 }
173-
173+
174174 private void restoreConfigDepot () throws Exception {
175175 Field depotField = ConfigKey .class .getDeclaredField ("s_depot" );
176176 depotField .setAccessible (true );
177177 depotField .set (null , originalConfigDepot );
178178 }
179-
179+
180180 private void setConfigValue (String configName , String value ) {
181181 Mockito .when (mockConfigDepot .getConfigStringValue (
182- Mockito .eq (configName ),
183- Mockito .eq (ConfigKey .Scope .Global ),
182+ Mockito .eq (configName ),
183+ Mockito .eq (ConfigKey .Scope .Global ),
184184 Mockito .isNull ()
185185 )).thenReturn (value );
186186 }
0 commit comments