You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use static strings or enumerations where possible #141
For the content types, please use static strings or enumerations so that it will look like:
Content content = new Content(Content.TYPE_HTML, "I'm replacing the body tag");
The same thing here:
request.endpoint = "mail/send";
Hi @thinkingserious, I just made a fork of the master branch and something looks weird.
All the classes got the package com.sendgrid but none of them are under this package, they are under com.sendgrid.helpers.mail.*. Is it something that should be fixed as well?
As I can see the Request object is placed in another sendgrid project named java-http-client so this last piece must be in that project instead of here. Am I right?
Activity
marcosbarbero commentedon Oct 5, 2016
Hi @thinkingserious, I just made a fork of the master branch and something looks weird.
All the classes got the package
com.sendgridbut none of them are under this package, they are undercom.sendgrid.helpers.mail.*. Is it something that should be fixed as well?thinkingserious commentedon Oct 5, 2016
Yes please, thanks!
marcosbarbero commentedon Oct 5, 2016
Could you please provide some more info about the last part on the issue?
Where is it placed? I didn't found any reference.
marcosbarbero commentedon Oct 5, 2016
As I can see the
Requestobject is placed in another sendgrid project namedjava-http-clientso this last piece must be in that project instead of here. Am I right?thinkingserious commentedon Oct 5, 2016
@marcosbarbero,
You are correct.
marcosbarbero commentedon Oct 5, 2016
@thinkingserious I made a PR #148 and it's failing, I appreciate if you can help me.
thinkingserious commentedon Oct 5, 2016
@marcosbarbero,
I'll take a look, thanks!