Skip to content

Instantly share code, notes, and snippets.

@wecing
Last active December 14, 2015 10:59
Show Gist options
  • Save wecing/5075942 to your computer and use it in GitHub Desktop.
Save wecing/5075942 to your computer and use it in GitHub Desktop.
344 VideoStore bug?
else if (t.equals("fastsearch")) {
/* same as search, only faster (and single words only) */
if (st.hasMoreTokens()) {
String movie_word = st.nextToken(); // !!!!!!!!!!!!!!!!!!!!!!!!!
System.out.println("Fast Searching for the movie '"
+ movie_word + "'");
q.transaction_fastSearch(cid, movie_word);
} else {
System.out.println("Error: need to type in movie title");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment