ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Introduction to Amazon S3 with Java and REST
Subject:   nice article
Date:   2007-11-08 17:02:02
From:   slackorama
Nice article.


But this seems kind of strange and non-standard to me.
if ((statusCode/100) != 2)


why not just use if (statusCode != 200)?


1 to 1 of 1
  1. It's not just 200, it's 2XX
    2007-11-09 07:44:34  pcarroll [View]

1 to 1 of 1