Those literals are assigned then compared somewhere else in the code. When those literals are carrying a state, it is recommended to assign them to a constant, to ensure that both parts of the application use the same values..
Literal | Assignations | Comparisons |
80 |
|
|
10 |
|
|
success |
|
|
/ |
|
|
none |
|
|
note |
|
|
public |
|
|
default |
|
|
post |
|
|
reply |
|
|
hidden |
|
|
image/jpeg |
|
|
rsvp |
|
|
enabled |
|
|
image/gif |
|
|
like |
|
|
bookmark |
|
|
application/octet-stream |
|
|
comment |
|
|
new known site |
|
|
local |
|
|
all |
|
|
1 |
|
|
site |
|
|
untitled |
|
|
no category |
|
|
checkin |
|
|
json |
|
|
following |
|
|
audio |
|
|
video |
|
|
photo |
|
|