Skip to content

Commit

Permalink
SAK-41613 jsf, velocity: commons-lang => commons-lang3
Browse files Browse the repository at this point in the history
  • Loading branch information
axxter99 authored and Miguel Pellicer committed Apr 3, 2019
1 parent a445284 commit 6707a7f
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 22 deletions.
4 changes: 4 additions & 0 deletions jsf/jsf-spreadsheet/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,9 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
package org.sakaiproject.jsf.spreadsheet;

import java.awt.Color;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.List;

import javax.servlet.http.HttpServletResponse;

import org.apache.commons.lang3.StringUtils;
import org.sakaiproject.component.cover.ServerConfigurationService;

import com.lowagie.text.BadElementException;
import com.lowagie.text.Cell;
import com.lowagie.text.Chunk;
Expand All @@ -14,20 +25,8 @@
import com.lowagie.text.pdf.BaseFont;
import com.lowagie.text.pdf.PdfWriter;

import java.awt.Color;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.List;

import javax.servlet.http.HttpServletResponse;

import lombok.extern.slf4j.Slf4j;

import org.apache.commons.lang.StringUtils;

import org.sakaiproject.component.cover.ServerConfigurationService;

@Slf4j
public class SpreadsheetDataFileWriterPdf implements SpreadsheetDataFileWriter {
private List<List<String>> studentInfo = new ArrayList<List<String>>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.StringUtils;

/**
*
Expand Down
4 changes: 0 additions & 4 deletions velocity/tool/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@
<version>1.4</version>
</dependency>
<!-- Required for velocity -->
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,21 @@
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.Locale;
import java.util.Map;
import java.util.Set;
import java.text.DateFormat;
import java.text.SimpleDateFormat;

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

import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang.StringUtils;

import org.apache.commons.lang3.StringUtils;
import org.sakaiproject.authz.cover.SecurityService;
import org.sakaiproject.cheftool.api.Alert;
import org.sakaiproject.cheftool.api.Menu;
Expand All @@ -67,6 +65,8 @@
import org.sakaiproject.util.Web;
import org.sakaiproject.vm.ActionURL;

import lombok.extern.slf4j.Slf4j;

/**
* <p>
* VelocityPortletPaneledAction ...
Expand Down

0 comments on commit 6707a7f

Please sign in to comment.