• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Sybex 816, Chapter 9, pag. 480

 
Greenhorn
Posts: 19
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Chapter 9, pag 480 some methods to pass from a Path to an URI are described, and the book says:



I think the method name should be "toUri()", with the "r" and "i" in lower case. The one with the upper case is applied to a File instance, not to a Path instance. So either the method name or the comment above should be changed, I think...
 
Marshal
Posts: 70666
288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please look here, and I think you will find that error has already been noted.
 
Ilenia Salvadori
Greenhorn
Posts: 19
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The link you sent me refer to the table at pag. 494, while mine refers to pag. 480.
The error is basically the same, but it`s at a different place, and I did not find it in the list of errata.
 
Campbell Ritchie
Marshal
Posts: 70666
288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaah! That is what happens if you have repeated code
 
A "dutch baby" is not a baby. But this tiny ad is baby sized:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic