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]

    • It's not just 200, it's 2XX
      2007-11-11 08:12:59  georgecoller [View]

      • It's not just 200, it's 2XX
        2007-11-12 08:29:39  pcarroll [View]

      • it explains a bit about history......
        2007-11-11 14:31:08  jamesak [View]

        • it explains a bit about history......
          2008-09-11 08:28:05  Anonymous8888 [View]

1 to 1 of 1