<commit_before>package net.hillsdon.svnwiki.web.dispatching;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Communicates a redirect.
 * 
 * Exception as that ought to be the effect on control-flow.
 * 
 * @author mth
 */
public class RedirectView implements View {

  private static final long serialVersionUID = 1L;
  private final String _url;

  public RedirectView(final String url) {
    _url = url;
  }
  
  public String getURL() {
    return _url;
  }

  public void render(final HttpServletRequest request, final HttpServletResponse response) throws IOException {
    response.sendRedirect(_url);
  }
  
}
<commit_msg>Remove svuid, this class was an exception but isn't anymore.<commit_after>package net.hillsdon.svnwiki.web.dispatching;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Communicates a redirect.
 * 
 * Exception as that ought to be the effect on control-flow.
 * 
 * @author mth
 */
public class RedirectView implements View {

  private final String _url;

  public RedirectView(final String url) {
    _url = url;
  }
  
  public String getURL() {
    return _url;
  }

  public void render(final HttpServletRequest request, final HttpServletResponse response) throws IOException {
    response.sendRedirect(_url);
  }
  
}

{'fraction_non_alphanumeric': 0.08251057827926657, 'fraction_numerical': 0.0007052186177715092, 'mean_word_length': 3.9270833333333335, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6644900', 'n_tokens_mistral': 416, 'n_tokens_neox': 407, 'n_words': 123}