Closed 1abhishekpandey closed 1 month ago
getInstance
null
createInstance
RudderAnalytics
AnalyticsUtil
utilities
Issues 0 New issues 0 Accepted issues
Measures 0 Security Hotspots No data about Coverage 0.0% Duplication on New Code
See analysis details on SonarCloud
About the new feature
getInstance
method. We have made sure thatgetInstance
doesn't returnnull
.About the change
createInstance
API togetInstance
and made it return a singleton instance. This logic has been moved into the newRudderAnalytics
class.getInstance
method which can returnnull
.AnalyticsUtil
into theutilities
package.Type of change
Checklist: