diff options
Diffstat (limited to 'framework/qa/complex/dispatches/Interceptor.java')
-rw-r--r-- | framework/qa/complex/dispatches/Interceptor.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/framework/qa/complex/dispatches/Interceptor.java b/framework/qa/complex/dispatches/Interceptor.java index a6653d195e98..44ba2a2a9da0 100644 --- a/framework/qa/complex/dispatches/Interceptor.java +++ b/framework/qa/complex/dispatches/Interceptor.java @@ -259,8 +259,7 @@ public class Interceptor implements XDispatch, { if (m_lURLs4InterceptionInfo == null) { - m_lURLs4InterceptionInfo = new String[1]; - m_lURLs4InterceptionInfo[0] = "*"; + m_lURLs4InterceptionInfo = new String[] { "*" }; } return m_lURLs4InterceptionInfo; @@ -276,8 +275,7 @@ public class Interceptor implements XDispatch, { if (m_lURLs4Blocking == null) { - m_lURLs4Blocking = new String[1]; - m_lURLs4Blocking[0] = "*"; + m_lURLs4Blocking = new String[] { "*" }; } return m_lURLs4Blocking; |