File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
cloudinary-core/src/main/java/com/cloudinary Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public class Cloudinary {
4646 private AbstractUploaderStrategy uploaderStrategy ;
4747 private AbstractApiStrategy apiStrategy ;
4848 private String userAgent = USER_AGENT_PREFIX +"/" + VERSION + " " +USER_AGENT_JAVA_VERSION ;
49- public Analytics analytics ;
49+ public Analytics analytics = new Analytics () ;
5050 public Uploader uploader () {
5151 return new Uploader (this , uploaderStrategy );
5252 }
@@ -156,7 +156,6 @@ public void setUserAgent(String prefix, String version){
156156
157157 /**
158158 * Set the analytics object that will be sent with every URL generation call.
159- * a userAgent is built from `prefix/version (additional data)`
160159 * @param analytics - the analytics object to set
161160 */
162161 public void setAnalytics (Analytics analytics ) {
You can’t perform that action at this time.
0 commit comments