Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Commit

Permalink
solved Codacy errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ananth committed Apr 19, 2017
1 parent 5b8a1ef commit 0878cc3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Source/BMSResponse.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public extension Response {

if let subscriptionDictionary = convertStringToDictionary(text: self.responseText!) as NSDictionary? {

if let subscriptionArray:NSArray = subscriptionDictionary.object(forKey: IMFPUSH_SUBSCRIPTIONS) as? NSArray{
if let subscriptionArray:NSArray = subscriptionDictionary.object(forKey: IMFPUSH_SUBSCRIPTIONS) as? NSArray {


var subscriptionResponsDic:NSDictionary?
Expand Down Expand Up @@ -73,7 +73,7 @@ public extension Response {

let finalDict = NSMutableDictionary()

if let subscriptions:NSDictionary = convertStringToDictionary(text: self.responseText!) as NSDictionary?{
if let subscriptions:NSDictionary = convertStringToDictionary(text: self.responseText!) as NSDictionary? {

if let arraySub:NSArray = subscriptions.object(forKey: IMFPUSH_SUBSCRIPTIONEXISTS) as? NSArray {

Expand Down Expand Up @@ -104,7 +104,7 @@ public extension Response {

let finalDict = NSMutableDictionary()

if let subscriptions:NSDictionary = convertStringToDictionary(text: self.responseText!) as NSDictionary?{
if let subscriptions:NSDictionary = convertStringToDictionary(text: self.responseText!) as NSDictionary? {


if let arraySub:NSArray = subscriptions.object(forKey: IMFPUSH_SUBSCRIPTIONEXISTS) as? NSArray {
Expand Down Expand Up @@ -136,7 +136,7 @@ public extension Response {

let tags = NSMutableArray()

if let tagsDictionary:NSDictionary = convertStringToDictionary(text: self.responseText!) as NSDictionary?{
if let tagsDictionary:NSDictionary = convertStringToDictionary(text: self.responseText!) as NSDictionary? {

if let tag:NSArray = tagsDictionary.object(forKey: IMFPUSH_TAGS) as? NSArray {

Expand Down Expand Up @@ -204,7 +204,7 @@ public extension Response {

if let subscriptionDictionary:NSDictionary = convertStringToDictionary(self.responseText!)! as NSDictionary {

if let subscriptionArray:NSArray = subscriptionDictionary.objectForKey(IMFPUSH_SUBSCRIPTIONS) as? NSArray{
if let subscriptionArray:NSArray = subscriptionDictionary.objectForKey(IMFPUSH_SUBSCRIPTIONS) as? NSArray {


var subscriptionResponsDic:NSDictionary?
Expand Down Expand Up @@ -237,7 +237,7 @@ public extension Response {

let finalDict = NSMutableDictionary()

if let subscriptions:NSDictionary = convertStringToDictionary(self.responseText!)! as NSDictionary{
if let subscriptions:NSDictionary = convertStringToDictionary(self.responseText!)! as NSDictionary {

if let arraySub:NSArray = subscriptions.objectForKey(IMFPUSH_SUBSCRIPTIONEXISTS) as? NSArray {

Expand Down Expand Up @@ -269,7 +269,7 @@ public extension Response {

let finalDict = NSMutableDictionary()

if let subscriptions:NSDictionary = convertStringToDictionary(self.responseText!)! as NSDictionary{
if let subscriptions:NSDictionary = convertStringToDictionary(self.responseText!)! as NSDictionary {

if let arraySub:NSArray = subscriptions.objectForKey(IMFPUSH_SUBSCRIPTIONEXISTS) as? NSArray {

Expand Down Expand Up @@ -300,7 +300,7 @@ public extension Response {

let tags = NSMutableArray()

if let tagsDictionary:NSDictionary = convertStringToDictionary(self.responseText!)! as NSDictionary{
if let tagsDictionary:NSDictionary = convertStringToDictionary(self.responseText!)! as NSDictionary {

if let tag:NSArray = tagsDictionary.objectForKey(IMFPUSH_TAGS) as? NSArray {

Expand Down

0 comments on commit 0878cc3

Please sign in to comment.