lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Java | mit | 084441e3789cac0c9d462ed88fd2d4e628419907 | 0 | rnicoll/learn_syllabus_plus_sync,rnicoll/learn_syllabus_plus_sync | package uk.ac.ed.learn9.bb.timetabling.service;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/... | src/main/java/uk/ac/ed/learn9/bb/timetabling/service/EugexService.java | package uk.ac.ed.learn9.bb.timetabling.service;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/... | Corrected field names in EugexService
| src/main/java/uk/ac/ed/learn9/bb/timetabling/service/EugexService.java | Corrected field names in EugexService | <ide><path>rc/main/java/uk/ac/ed/learn9/bb/timetabling/service/EugexService.java
<ide> );
<ide> try {
<ide> final PreparedStatement destinationStatement = stagingDatabase.prepareStatement(
<del> "SELECT tt_module_id, webct_active, occurrence_course_code course_... | |
Java | mpl-2.0 | fed84fc82a324a8db999badf91dd76ebab6278f8 | 0 | JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core | /*************************************************************************
*
* $RCSfile: Process.java,v $
*
* $Revision: 1.3 $
*
* last change: $Author: obo $ $Date: 2004-09-08 14:12:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* ... | wizards/com/sun/star/wizards/web/Process.java | /*************************************************************************
*
* $RCSfile: Process.java,v $
*
* $Revision: 1.2 $
*
* last change: $Author: kz $ $Date: 2004-05-19 13:12:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* ... | INTEGRATION: CWS qwizards2 (1.2.2); FILE MERGED
2004/07/19 13:36:53 rpiterman 1.2.2.1: WebWizard spec revision
removed fav icon
added ZIP delete
removed directory delete
changed imports
changed static calls to be nicer
| wizards/com/sun/star/wizards/web/Process.java | INTEGRATION: CWS qwizards2 (1.2.2); FILE MERGED 2004/07/19 13:36:53 rpiterman 1.2.2.1: WebWizard spec revision removed fav icon added ZIP delete removed directory delete changed imports changed static calls to be nicer | <ide><path>izards/com/sun/star/wizards/web/Process.java
<ide> *
<ide> * $RCSfile: Process.java,v $
<ide> *
<del> * $Revision: 1.2 $
<del> *
<del> * last change: $Author: kz $ $Date: 2004-05-19 13:12:58 $
<add> * $Revision: 1.3 $
<add> *
<add> * last change: $Author: obo $ $Date: 2004-09-08 14:12:54 $
<ide> *... | |
Java | apache-2.0 | 7540801ef1e9cf3be3cdd33a31cf1e5410d6da76 | 0 | hurricup/intellij-community,semonte/intellij-community,youdonghai/intellij-community,ThiagoGarciaAlves/intellij-community,vvv1559/intellij-community,mglukhikh/intellij-community,ThiagoGarciaAlves/intellij-community,ibinti/intellij-community,youdonghai/intellij-community,retomerz/intellij-community,michaelgallacher/inte... | package com.jetbrains.jsonSchema.impl;
import com.intellij.testFramework.PlatformTestUtil;
import com.intellij.util.concurrency.Semaphore;
import org.junit.Assert;
import org.junit.Test;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.Time... | json/tests/test/com/jetbrains/jsonSchema/impl/JsonSchemaReadTest.java | package com.jetbrains.jsonSchema.impl;
import com.intellij.testFramework.PlatformTestUtil;
import com.intellij.util.concurrency.Semaphore;
import org.junit.Assert;
import org.junit.Test;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.Time... | fix test, sorry (filenames letters case) + always kill the second thread
| json/tests/test/com/jetbrains/jsonSchema/impl/JsonSchemaReadTest.java | fix test, sorry (filenames letters case) + always kill the second thread | <ide><path>son/tests/test/com/jetbrains/jsonSchema/impl/JsonSchemaReadTest.java
<ide>
<ide> @Test
<ide> public void testReadSchemaWithWrongRequired() throws Exception {
<del> testSchemaReadNotHung(new File(PlatformTestUtil.getCommunityPath(), "json/tests/testData/jsonSchema/withWrongRequired.json"));
<add> t... | |
Java | apache-2.0 | 2e6a46f7e729a94b61a961b624e5e3acea6da4c3 | 0 | polopoly/typica | //
// typica - A client library for Amazon Web Services
// Copyright (C) 2007,2008,2009 Xerox Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/... | java/com/xerox/amazonws/ec2/Jec2.java | //
// typica - A client library for Amazon Web Services
// Copyright (C) 2007,2008,2009 Xerox Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/... | added createImage, new registerImage in support of EBS images
git-svn-id: ed72533e8e76b4727d8751eef669f13bfa24ccfa@302 7ed6c317-272d-0410-8ab0-49a3fbf2961c
| java/com/xerox/amazonws/ec2/Jec2.java | added createImage, new registerImage in support of EBS images | <ide><path>ava/com/xerox/amazonws/ec2/Jec2.java
<ide>
<ide> import com.xerox.amazonws.common.AWSException;
<ide> import com.xerox.amazonws.common.AWSQueryConnection;
<add>import com.xerox.amazonws.typica.jaxb.AllocateAddressResponse;
<add>import com.xerox.amazonws.typica.jaxb.AssociateAddressResponse;
<add>import com.... | |
JavaScript | mit | 24f94093c7b9955217a95ddfe19a5bcebd32783b | 0 | derek-boman/mx-react-components,mxenabled/mx-react-components | const React = require('react');
const Radium = require('radium');
const Spin = require('./Spin');
const StyleConstants = require('../constants/Style');
const Icon = require('../components/Icon');
const Button = React.createClass({
propTypes: {
actionText: React.PropTypes.string,
icon: React.PropTypes.stri... | src/components/Button.js | const React = require('react');
const Radium = require('radium');
const Spin = require('./Spin');
const StyleConstants = require('../constants/Style');
const Icon = require('../components/Icon');
const Button = React.createClass({
propTypes: {
actionText: React.PropTypes.string,
icon: React.PropTypes.stri... | moves styles into a function
| src/components/Button.js | moves styles into a function | <ide><path>rc/components/Button.js
<ide> },
<ide>
<ide> _renderButtonContent () {
<del> const spinnerStyles = {
<del> verticalAlign: 'initial',
<del> marginTop: -6,
<del> marginBottom: -5,
<del> marginLeft: -5,
<del> marginRight: -5,
<del> padding: !this.props.actionText && this.pr... | |
Java | apache-2.0 | error: pathspec 'enhanced/drlvm/trunk/vm/tests/kernel/java/lang/ClassTestGetAnnotation.java' did not match any file(s) known to git
| ac7f8d00c882b5ac982aac206d8028cd24b23696 | 1 | freeVM/freeVM,freeVM/freeVM,freeVM/freeVM,freeVM/freeVM,freeVM/freeVM | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | enhanced/drlvm/trunk/vm/tests/kernel/java/lang/ClassTestGetAnnotation.java | Regression test for HARMONY-886 " [classlib][core][drlvm] compatibility: Harmony method Class.getAnnotation(null) return null while RI throws NPE"
svn path=/harmony/; revision=487309
| enhanced/drlvm/trunk/vm/tests/kernel/java/lang/ClassTestGetAnnotation.java | Regression test for HARMONY-886 " [classlib][core][drlvm] compatibility: Harmony method Class.getAnnotation(null) return null while RI throws NPE" | <ide><path>nhanced/drlvm/trunk/vm/tests/kernel/java/lang/ClassTestGetAnnotation.java
<add>/*
<add> * Licensed to the Apache Software Foundation (ASF) under one or more
<add> * contributor license agreements. See the NOTICE file distributed with
<add> * this work for additional information regarding copyright owners... | |
Java | apache-2.0 | 30726e487fd75a626da5c19236a1abffc65d6bf3 | 0 | consulo/consulo,consulo/consulo,consulo/consulo,consulo/consulo,ernestp/consulo,ernestp/consulo,ernestp/consulo,ernestp/consulo,consulo/consulo,ernestp/consulo,consulo/consulo,ernestp/consulo | /*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | plugins/ui-designer/src/com/intellij/uiDesigner/LoaderFactory.java | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | dont use getMirrorFile()
| plugins/ui-designer/src/com/intellij/uiDesigner/LoaderFactory.java | dont use getMirrorFile() | <ide><path>lugins/ui-designer/src/com/intellij/uiDesigner/LoaderFactory.java
<ide> /*
<del> * Copyright 2000-2009 JetBrains s.r.o.
<add> * Copyright 2000-2013 JetBrains s.r.o.
<ide> *
<ide> * Licensed under the Apache License, Version 2.0 (the "License");
<ide> * you may not use this file except in compliance with t... | |
Java | bsd-3-clause | 5fefff696eb5807b059a0a255ce91fbfd7c272c5 | 0 | NCIP/national-biomedical-image-archive,NCIP/national-biomedical-image-archive,NCIP/national-biomedical-image-archive,NCIP/national-biomedical-image-archive,NCIP/national-biomedical-image-archive | package gov.nih.nci.ncia.search;
import java.util.*;
public class APIURLHolder {
private static String url;
private static String wadoUrl;
private static Map<String, String> userMap=new HashMap<String, String>();
public static String getUrl()
{
return url;
}
public static String addUser(String user)
... | software/nbia-services-grid/src/gov/nih/nci/ncia/search/APIURLHolder.java | package gov.nih.nci.ncia.search;
import java.util.*;
public class APIURLHolder {
private static String url;
private static String wadoUrl;
private static Map<String, String> userMap=new HashMap<String, String>();
public static String getUrl()
{
return url;
}
public static String addUser(String user)
... | change needed for apache proxy | software/nbia-services-grid/src/gov/nih/nci/ncia/search/APIURLHolder.java | change needed for apache proxy | <ide><path>oftware/nbia-services-grid/src/gov/nih/nci/ncia/search/APIURLHolder.java
<ide> return userMap.get(key);
<ide> }
<ide> public static void setUrl(String urlIn){
<del> wadoUrl=urlIn.substring(0, urlIn.lastIndexOf("/")+1)+"wado";
<del> String temp = urlIn.substring(0, urlIn.lastIndexOf("/")-1);
<del> temp... | |
Java | agpl-3.0 | 98be0a867d5b334c2d76a530d36e25897f3f14f8 | 0 | sakazz/exchange,sakazz/exchange | /*
* This file is part of Bisq.
*
* Bisq is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at
* your option) any later version.
*
* Bisq is distributed in the ... | gui/src/main/java/io/bisq/gui/util/validation/AltCoinAddressValidator.java | /*
* This file is part of Bisq.
*
* Bisq is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at
* your option) any later version.
*
* Bisq is distributed in the ... | update AltCoinAddressValidator J[a-zA-Z0-9]{44,44}
| gui/src/main/java/io/bisq/gui/util/validation/AltCoinAddressValidator.java | update AltCoinAddressValidator J[a-zA-Z0-9]{44,44} | <ide><path>ui/src/main/java/io/bisq/gui/util/validation/AltCoinAddressValidator.java
<ide> return new ValidationResult(true);
<ide> else
<ide> return regexTestFailed;
<del> case "OGT":
<del> if (input.startsWith("J")&&(input.leng... | |
Java | mit | 41776dfb601be2318ea41a34efc5a178db525765 | 0 | gabrielsson/Clac | package cl.sidan.clac.fragments;
import android.app.ActivityManager;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.os.Build;
import a... | app/src/main/java/cl/sidan/clac/fragments/MyExceptionHandler.java | package cl.sidan.clac.fragments;
import android.app.ActivityManager;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.os.Build;
import a... | Fix MyExceptionHandler to output error locally
| app/src/main/java/cl/sidan/clac/fragments/MyExceptionHandler.java | Fix MyExceptionHandler to output error locally | <ide><path>pp/src/main/java/cl/sidan/clac/fragments/MyExceptionHandler.java
<ide>
<ide> report.append("****** END OF REPORT ******");
<ide>
<del> Log.e(MyExceptionHandler.class.getName(), "Error while sendErrorMail. " + report);
<add> Log.e(MyExceptionHandler.class.getName(), "ErrorH... | |
Java | apache-2.0 | 6a4e1ed88c1249bdf7e48a8579686cd75d56be90 | 0 | erdi/grails-core,clockworkorange/grails-core,clockworkorange/grails-core,clockworkorange/grails-core,erdi/grails-core,clockworkorange/grails-core,clockworkorange/grails-core,erdi/grails-core | /*
* Copyright 2004-2005 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | src/commons/grails/orm/HibernateCriteriaBuilder.java | /*
* Copyright 2004-2005 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | fix for GRAILS-320 to allow projection constraint
git-svn-id: 29aad96320b2a07b98332cd568fc1316025c072f@1369 1cfb16fd-6d17-0410-8ff1-b7e8e1e2867d
| src/commons/grails/orm/HibernateCriteriaBuilder.java | fix for GRAILS-320 to allow projection constraint | <ide><path>rc/commons/grails/orm/HibernateCriteriaBuilder.java
<ide> package grails.orm;
<ide>
<ide> import grails.util.ExtendProxy;
<add>import groovy.lang.Closure;
<add>import groovy.lang.GString;
<ide> import groovy.lang.MissingMethodException;
<ide> import groovy.lang.MissingPropertyException;
<del>import groovy.l... | |
Java | mit | 3efb02d362f4871b239a47f981ad20a62713beca | 0 | InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service | package com.worth.ifs.competition.controller;
import com.google.common.collect.Sets;
import com.worth.ifs.BaseControllerIntegrationTest;
import com.worth.ifs.category.repository.CategoryLinkRepository;
import com.worth.ifs.commons.rest.RestResult;
import com.worth.ifs.competition.domain.Competition;
import com.worth.i... | ifs-data-service/src/test/java/com/worth/ifs/competition/controller/CompetitionControllerIntegrationTest.java | package com.worth.ifs.competition.controller;
import com.google.common.collect.Sets;
import com.worth.ifs.BaseControllerIntegrationTest;
import com.worth.ifs.category.repository.CategoryLinkRepository;
import com.worth.ifs.commons.rest.RestResult;
import com.worth.ifs.competition.domain.Competition;
import com.worth.i... | INFUND-2993-create-a-competition-step-4-milestones
Small refactoring
| ifs-data-service/src/test/java/com/worth/ifs/competition/controller/CompetitionControllerIntegrationTest.java | INFUND-2993-create-a-competition-step-4-milestones Small refactoring | <ide><path>fs-data-service/src/test/java/com/worth/ifs/competition/controller/CompetitionControllerIntegrationTest.java
<ide> CompetitionResource projectSetup = createWithDates(sixDaysAgo, fiveDaysAgo, fourDaysAgo, threeDaysAgo, twoDaysAgo, oneDayAgo);
<ide> assertThat(projectSetup.getCompetitionStatus(... | |
Java | agpl-3.0 | 35e55b80703bf5ebf6cbc0bcffacd5f2f2891100 | 0 | joval/jWSMV,joval/jWSMV,joval/jWSMV | // Copyright (C) 2012 jOVAL.org. All rights reserved.
// This software is licensed under the AGPL 3.0 license available at http://www.joval.org/agpl_v3.txt
package jwsmv.cim;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.NoSuchElementException;
import javax.... | src/jwsmv/cim/StdRegProv.java | // Copyright (C) 2012 jOVAL.org. All rights reserved.
// This software is licensed under the AGPL 3.0 license available at http://www.joval.org/agpl_v3.txt
package jwsmv.cim;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.NoSuchElementException;
import javax.... | REG_* int types were incorrect.
| src/jwsmv/cim/StdRegProv.java | REG_* int types were incorrect. | <ide><path>rc/jwsmv/cim/StdRegProv.java
<ide> public static final long HKEY_DYN_DATA = 0x80000006L;
<ide>
<ide> public static final int REG_NONE = 0;
<del> public static final int REG_DWORD = 1;
<del> public static final int REG_BINARY = 2;
<del> public static final int REG_SZ = 3;
<del> public... | |
Java | apache-2.0 | error: pathspec 'ontology-rest/src/test/java/uk/ac/ebi/quickgo/ontology/controller/CoTermControllerFailedLoadIT.java' did not match any file(s) known to git
| f07bea4ced456a39d174a379bd20d30f6bf59f5f | 1 | ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE | package uk.ac.ebi.quickgo.ontology.controller;
import uk.ac.ebi.quickgo.ontology.OntologyREST;
import java.util.Arrays;
import java.util.stream.Collectors;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springf... | ontology-rest/src/test/java/uk/ac/ebi/quickgo/ontology/controller/CoTermControllerFailedLoadIT.java | Test calling findCoTerms if the data has not be loaded to the CoTerm repository.
| ontology-rest/src/test/java/uk/ac/ebi/quickgo/ontology/controller/CoTermControllerFailedLoadIT.java | Test calling findCoTerms if the data has not be loaded to the CoTerm repository. | <ide><path>ntology-rest/src/test/java/uk/ac/ebi/quickgo/ontology/controller/CoTermControllerFailedLoadIT.java
<add>package uk.ac.ebi.quickgo.ontology.controller;
<add>
<add>import uk.ac.ebi.quickgo.ontology.OntologyREST;
<add>
<add>import java.util.Arrays;
<add>import java.util.stream.Collectors;
<add>import org.junit.... | |
Java | apache-2.0 | 6bfc36d9c9e93f87e4316b10453dc94433b84b58 | 0 | fabric8io/kubernetes-client,fabric8io/kubernetes-client,fabric8io/kubernetes-client | /**
* Copyright 2018 The original authors.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable l... | crd-generator/src/main/java/io/dekorate/crd/apt/CustomResourceAnnotationProcessor.java | /**
* Copyright 2018 The original authors.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable l... | feat: add output of currently generated element
| crd-generator/src/main/java/io/dekorate/crd/apt/CustomResourceAnnotationProcessor.java | feat: add output of currently generated element | <ide><path>rd-generator/src/main/java/io/dekorate/crd/apt/CustomResourceAnnotationProcessor.java
<ide> }
<ide>
<ide> public void add(Element element) {
<add> System.out.println("Generating " + element.getSimpleName());
<ide> Optional<Crd> crd = Optional.ofNullable(element.getAnnotation(Crd.class));
<ide> ... | |
Java | unlicense | 89cffca36499eeb526545b056d65775a0816ee3d | 0 | bmhm/bukkit-plugin-example | /**
* Bukkit-Plugin-Example by Benjamin Marwell.
*
* To the extent possible under law, the person who associated CC0 with
* Bukkit-Plugin-Example has waived all copyright and related or neighboring rights
* to Bukkit-Plugin-Example.
*
* You should have received a copy of the CC0 legalcode along with this
* work... | src/main/java/de/bmarwell/bukkit/listener/PlayerTeleportListener.java | /**
* Bukkit-Plugin-Example by Benjamin Marwell.
*
* To the extent possible under law, the person who associated CC0 with
* Bukkit-Plugin-Example has waived all copyright and related or neighboring rights
* to Bukkit-Plugin-Example.
*
* You should have received a copy of the CC0 legalcode along with this
* work... | Only undo enderperl teleport events, and set a proper cause. | src/main/java/de/bmarwell/bukkit/listener/PlayerTeleportListener.java | Only undo enderperl teleport events, and set a proper cause. | <ide><path>rc/main/java/de/bmarwell/bukkit/listener/PlayerTeleportListener.java
<ide> import org.bukkit.event.EventHandler;
<ide> import org.bukkit.event.Listener;
<ide> import org.bukkit.event.player.PlayerTeleportEvent;
<add>import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
<ide>
<ide> /**
<ide> * R... | |
Java | apache-2.0 | error: pathspec 'src/main/java/info/u_team/u_team_core/util/io/NBTStreamUtil.java' did not match any file(s) known to git
| 758b9506bc00314c929e3c6ba2486a7fa9d69a69 | 1 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core | package info.u_team.u_team_core.util.io;
import java.io.*;
import net.minecraft.nbt.*;
public class NBTStreamUtil {
public static NBTTagCompound readNBTFromFile(File file) throws IOException {
return readNBTFromStream(new FileInputStream(file));
}
public static NBTTagCompound readNBTFromStream(I... | src/main/java/info/u_team/u_team_core/util/io/NBTStreamUtil.java | Added NBTStreamUtil | src/main/java/info/u_team/u_team_core/util/io/NBTStreamUtil.java | Added NBTStreamUtil | <ide><path>rc/main/java/info/u_team/u_team_core/util/io/NBTStreamUtil.java
<add>package info.u_team.u_team_core.util.io;
<add>
<add>import java.io.*;
<add>
<add>import net.minecraft.nbt.*;
<add>
<add>public class NBTStreamUtil {
<add>
<add> public static NBTTagCompound readNBTFromFile(File file) throws IOException {
<... | |
JavaScript | apache-2.0 | fce6b4e5eef8c2d5bd8305eec042294cec133df9 | 0 | citruspay/open-javascript,citruspay/open-javascript | import {urlReEx} from '../constants';
const regEXMap = {
url : urlReEx
};
//todo: Check why is this done
window.r2 = regEXMap.url;
export const baseSchema = {
'mainObjectCheck':{
keysCheck: ['merchantTxnId', 'amount', 'currency', 'userDetails', 'returnUrl',
'notifyUrl', 'requestSignature',... | js/validation/validation-schema.js | import {urlReEx} from '../constants';
const regEXMap = {
url : urlReEx
};
//todo: Check why is this done
window.r2 = regEXMap.url;
export const baseSchema = {
'mainObjectCheck':{
keysCheck: ['merchantTxnId', 'amount', 'currency', 'userDetails', 'returnUrl',
'notifyUrl', 'requestSignature',... | email and mobile made non mandatory
| js/validation/validation-schema.js | email and mobile made non mandatory | <ide><path>s/validation/validation-schema.js
<ide> presence: true,
<ide> keysCheck: ['email', 'firstName', 'lastName', 'address', 'mobileNo']
<ide> },
<del> 'userDetails.email': { presence: true, email: true },
<add> 'userDetails.email': { //presence: true,
<add> emai... | |
Java | mit | error: pathspec 'maven-plugin/src/main/java/hudson/maven/settings/SettingsProviderUtils.java' did not match any file(s) known to git
| e96e01c6391608297c7786b03e4f96f653c052f6 | 1 | Jimilian/jenkins,ndeloof/jenkins,liorhson/jenkins,ns163/jenkins,seanlin816/jenkins,daniel-beck/jenkins,evernat/jenkins,amuniz/jenkins,ErikVerheul/jenkins,MichaelPranovich/jenkins_sc,olivergondza/jenkins,SenolOzer/jenkins,liupugong/jenkins,escoem/jenkins,christ66/jenkins,oleg-nenashev/jenkins,arcivanov/jenkins,seanlin81... | /*
* Copyright 20011 Talend, Olivier Lamy
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | maven-plugin/src/main/java/hudson/maven/settings/SettingsProviderUtils.java | miss to add a file
| maven-plugin/src/main/java/hudson/maven/settings/SettingsProviderUtils.java | miss to add a file | <ide><path>aven-plugin/src/main/java/hudson/maven/settings/SettingsProviderUtils.java
<add>/*
<add> * Copyright 20011 Talend, Olivier Lamy
<add> *
<add> * Licensed under the Apache License, Version 2.0 (the "License");
<add> * you may not use this file except in compliance with the License.
<add> * You may obtain a cop... | |
Java | apache-2.0 | 25990ea15f87d2d5c25c6a38325e3ebbf0653d22 | 0 | jerome79/OG-Platform,jeorme/OG-Platform,nssales/OG-Platform,jeorme/OG-Platform,nssales/OG-Platform,DevStreet/FinanceAnalytics,ChinaQuants/OG-Platform,jerome79/OG-Platform,codeaudit/OG-Platform,DevStreet/FinanceAnalytics,ChinaQuants/OG-Platform,codeaudit/OG-Platform,DevStreet/FinanceAnalytics,jerome79/OG-Platform,jeorme... | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.master.config.impl;
import static com.google.common.collect.Maps.newHashMap;
import static com.opengamma.util.functional.Functional.functional;
import java.ut... | projects/OG-Master/src/main/java/com/opengamma/master/config/impl/MasterConfigSource.java | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.master.config.impl;
import static com.google.common.collect.Maps.newHashMap;
import static com.opengamma.util.functional.Functional.functional;
import java.ut... | [PLAT-2783] Pass through to the change manager from the underlying config master.
| projects/OG-Master/src/main/java/com/opengamma/master/config/impl/MasterConfigSource.java | [PLAT-2783] Pass through to the change manager from the underlying config master. | <ide><path>rojects/OG-Master/src/main/java/com/opengamma/master/config/impl/MasterConfigSource.java
<ide> import java.util.List;
<ide> import java.util.Map;
<ide>
<del>import com.opengamma.core.change.BasicChangeManager;
<ide> import com.opengamma.core.change.ChangeManager;
<ide> import com.opengamma.core.config.Confi... | |
Java | bsd-3-clause | 58636a0f65972582e50980a0baffe8121d448a80 | 0 | xs2maverick/javacc-svn,javacc/javacc,javacc/javacc,javacc/javacc,amremam2004/javacc,pandaforks/javacc,amremam2004/javacc,pandaforks/javacc,pandaforks/javacc,xs2maverick/javacc-svn,amremam2004/javacc,xs2maverick/javacc-svn,pandaforks/javacc,xs2maverick/javacc-svn | // Copyright 2011 Google Inc. All Rights Reserved.
// Author: sreeni@google.com (Sreeni Viswanadha)
package org.javacc.parser;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Iterator;
i... | src/main/java/org/javacc/parser/ParseGenCPP.java | // Copyright 2011 Google Inc. All Rights Reserved.
// Author: sreeni@google.com (Sreeni Viswanadha)
package org.javacc.parser;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Iterator;
i... | A small beautifying | src/main/java/org/javacc/parser/ParseGenCPP.java | A small beautifying | <ide><path>rc/main/java/org/javacc/parser/ParseGenCPP.java
<ide> }
<ide>
<ide> genCodeLine(" struct JJCalls {");
<del> genCodeLine(" int gen;");
<del> genCodeLine(" Token *first;");
<del> genCodeLine(" int arg;");
<del> genCodeLine(" JJCalls *next;");
<add> genCodeLine(" int ... | |
Java | apache-2.0 | c2b20fb6a53808322994e2bf8fa9df839cfc18d9 | 0 | Fiware/cloud.PaaS,hmunfru/fiware-paas,Fiware/cloud.PaaS,telefonicaid/fiware-paas,telefonicaid/fiware-paas,hmunfru/fiware-paas,hmunfru/fiware-paas,Fiware/cloud.PaaS,telefonicaid/fiware-paas | /**
* (c) Copyright 2013 Telefonica, I+D. Printed in Spain (Europe). All Rights Reserved.<br>
* The copyright to the software program(s) is property of Telefonica I+D. The program(s) may be used and or copied only
* with the express written consent of Telefonica I+D or in accordance with the terms and conditions sti... | core/src/main/java/com/telefonica/euro_iaas/paasmanager/claudia/impl/OpenstackFirewallingClientImpl.java | /**
* (c) Copyright 2013 Telefonica, I+D. Printed in Spain (Europe). All Rights Reserved.<br>
* The copyright to the software program(s) is property of Telefonica I+D. The program(s) may be used and or copied only
* with the express written consent of Telefonica I+D or in accordance with the terms and conditions sti... | style in openstackfirewall
| core/src/main/java/com/telefonica/euro_iaas/paasmanager/claudia/impl/OpenstackFirewallingClientImpl.java | style in openstackfirewall | <ide><path>ore/src/main/java/com/telefonica/euro_iaas/paasmanager/claudia/impl/OpenstackFirewallingClientImpl.java
<ide> public String deployRule(ClaudiaData claudiaData, Rule rule) throws InfrastructureException {
<ide> log.debug("Creating security rule " + rule.getFromPort());
<ide> String url = s... | |
Java | mit | bfba5d620e8e72ab0efd2a6120c4d9ce17827584 | 0 | CS2103AUG2016-F11-C1/main,CS2103AUG2016-F11-C1/main | package seedu.todo.guitests;
import static org.junit.Assert.assertEquals;
import java.time.LocalDateTime;
import org.junit.Before;
import org.junit.Test;
import seedu.todo.commons.util.DateUtil;
import seedu.todo.controllers.TagController;
import seedu.todo.controllers.UntagController;
import seedu.todo.controllers... | src/test/java/seedu/todo/guitests/TagUntagCommandTest.java | package seedu.todo.guitests;
import static org.junit.Assert.assertEquals;
import java.time.LocalDateTime;
import org.junit.Before;
import org.junit.Test;
import seedu.todo.commons.util.DateUtil;
import seedu.todo.controllers.TagController;
import seedu.todo.controllers.UntagController;
import seedu.todo.controllers... | Test maximum limits
| src/test/java/seedu/todo/guitests/TagUntagCommandTest.java | Test maximum limits | <ide><path>rc/test/java/seedu/todo/guitests/TagUntagCommandTest.java
<ide> assertEquals(consoleMessage, console.getConsoleTextArea());
<ide> }
<ide>
<add> @Test
<add> public void tag_taskWithinLimit_success() {
<add> for (int i = 0; i < Task.MAX_TAG_LIST_SIZE; i++) {
<add> Strin... | |
JavaScript | mpl-2.0 | fcc4c96280f84fffc5f608bf619235d2242e977d | 0 | slidewiki/user-service,slidewiki/user-service | /*
Handles the requests by executing stuff and replying to the client. Uses promises to get stuff done.
*/
'use strict';
const boom = require('boom'), //Boom gives us some predefined http codes and proper responses
co = require('../common'),
userCtrl = require('../database/user'),
usergroupCtrl = require('../da... | application/controllers/handler.js | /*
Handles the requests by executing stuff and replying to the client. Uses promises to get stuff done.
*/
'use strict';
const boom = require('boom'), //Boom gives us some predefined http codes and proper responses
co = require('../common'),
userCtrl = require('../database/user'),
usergroupCtrl = require('../da... | [SWIK-1617_new_route__suspendUser_connected_with_deckservice] Added calling deck-service when suspending a user in order to archive all decks of the user
| application/controllers/handler.js | [SWIK-1617_new_route__suspendUser_connected_with_deckservice] Added calling deck-service when suspending a user in order to archive all decks of the user | <ide><path>pplication/controllers/handler.js
<ide> .then((result) => {
<ide> if (result.result.ok === 1 && result.result.n === 1) {
<ide> //found user and got updated
<del> return res();
<del> }
<del>
<del> return res(boom.notFound());
<add>
<add> if (!suspended)
<add> ... | |
Java | apache-2.0 | b900461e7730e0d43bf90617c659179d15539e86 | 0 | alexryndin/ambari,sekikn/ambari,radicalbit/ambari,alexryndin/ambari,radicalbit/ambari,alexryndin/ambari,arenadata/ambari,alexryndin/ambari,alexryndin/ambari,alexryndin/ambari,alexryndin/ambari,sekikn/ambari,radicalbit/ambari,arenadata/ambari,arenadata/ambari,sekikn/ambari,radicalbit/ambari,radicalbit/ambari,arenadata/a... | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | ambari-server/src/main/java/org/apache/ambari/server/bootstrap/BootStrapImpl.java | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | AMBARI-9788 Ambari UI shows message about host checks even after failed bootstrap (dsen)
| ambari-server/src/main/java/org/apache/ambari/server/bootstrap/BootStrapImpl.java | AMBARI-9788 Ambari UI shows message about host checks even after failed bootstrap (dsen) | <ide><path>mbari-server/src/main/java/org/apache/ambari/server/bootstrap/BootStrapImpl.java
<ide> }
<ide> requestId++;
<ide>
<del> bsRunner = new BSRunner(this, info, bootStrapDir.toString(),
<del> bootScript, bootSetupAgentScript, bootSetupAgentPassword, requestId, 0L,
<del> this.masterHostna... | |
Java | epl-1.0 | 33b64f9615f1ebea9247eef3a529fafa2820ee96 | 0 | theArchonius/mervin,theArchonius/mervin | /*******************************************************************************
* Copyright (c) 2017 Florian Zoubek.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
... | plugins/at.bitandart.zoubek.mervin/src/at/bitandart/zoubek/mervin/patchset/history/organizers/MatchingObjectOrganizer.java | /*******************************************************************************
* Copyright (c) 2017 Florian Zoubek.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
... | fixes confusing diff match categorization in patch set history
The previous organizer implementation categorized diffs also on their
similar diffs. This resulted in a categorization that did not match the
containment tree, which potentially confuses the users. Fixed by
considering only the entry diff for categorizatio... | plugins/at.bitandart.zoubek.mervin/src/at/bitandart/zoubek/mervin/patchset/history/organizers/MatchingObjectOrganizer.java | fixes confusing diff match categorization in patch set history | <ide><path>lugins/at.bitandart.zoubek.mervin/src/at/bitandart/zoubek/mervin/patchset/history/organizers/MatchingObjectOrganizer.java
<ide> import javax.inject.Named;
<ide>
<ide> import org.eclipse.e4.core.di.annotations.Optional;
<del>import org.eclipse.emf.common.util.EList;
<ide> import org.eclipse.emf.compare.Diff;... | |
JavaScript | mit | ac7385b8749b96145eb0c215638fcfad9c844b6d | 0 | Osuriel/drunkDices,Osuriel/drunkDices | /*
DrunkDices.com
GAME RULES:
Each Player can roll the dices as many time as they wish until they decide to hold their point and pass the turn or they get a “one”.
If a player gets a “one” when they roll the dice, they will not get any points and their turn will be over. A player must take a shot every time they get... | js/main.js | /*
DrunkDices.com
GAME RULES:
Each Player can roll the dices as many time as they wish until they decide to hold their point and pass the turn or they get a “one”.
If a player gets a “one” when they roll the dice, they will not get any points and their turn will be over. A player must take a shot every time they get... | all thats left is replacing the alerts with on screen messages and getting better pics for the gay icons. i think
| js/main.js | all thats left is replacing the alerts with on screen messages and getting better pics for the gay icons. i think | <ide><path>s/main.js
<ide> var bigFlamesDOM = document.getElementById('inside-left');
<ide> var bigXDOM = document.getElementById('inside-right');
<ide> var activePlayerScoreNode = document.getElementById('active_player_score');
<add>var activePlayerNameNode = document.getElementById('active_player_name');
<ide>
<ide>... | |
Java | apache-2.0 | 47fdd27b39df4fa0391908ce58aa9a8301168f05 | 0 | baszero/yanel,wyona/yanel,baszero/yanel,wyona/yanel,baszero/yanel,baszero/yanel,wyona/yanel,wyona/yanel,baszero/yanel,baszero/yanel,wyona/yanel,wyona/yanel | /*
* Copyright 2006 Wyona
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.wyona.org/licenses/APACHE-LICENSE-2.0
*
* Unless required by applicable law or agree... | src/contributions/resources/yanel-user/src/java/org/wyona/yanel/impl/resources/YanelUserResource.java | /*
* Copyright 2006 Wyona
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.wyona.org/licenses/APACHE-LICENSE-2.0
*
* Unless required by applicable law or agree... | check on the suggested name
| src/contributions/resources/yanel-user/src/java/org/wyona/yanel/impl/resources/YanelUserResource.java | check on the suggested name | <ide><path>rc/contributions/resources/yanel-user/src/java/org/wyona/yanel/impl/resources/YanelUserResource.java
<ide> return map;
<ide> }
<ide>
<add> /**
<add> * If the suggested name is an empty string, then return null such that the resource creator will not create a resource configuration
<add> ... | |
Java | mit | 70d8913659c84e89f5a9bb7d4b8c36e1004c199e | 0 | pennlabs/penn-mobile-android,pennlabs/penn-mobile-android,pennlabs/penn-mobile-android | package com.pennapps.labs.pennmobile;
import android.app.Activity;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.ListFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;
import com.pennapps.labs.p... | PennMobile/src/main/java/com/pennapps/labs/pennmobile/DiningFragment.java | package com.pennapps.labs.pennmobile;
import android.app.Activity;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.ListFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;
import com.pennapps.labs.p... | Refactor dining fragment code
| PennMobile/src/main/java/com/pennapps/labs/pennmobile/DiningFragment.java | Refactor dining fragment code | <ide><path>ennMobile/src/main/java/com/pennapps/labs/pennmobile/DiningFragment.java
<ide>
<ide> for (int i = 0; i < meals.length(); i++) {
<ide> JSONObject meal = meals.getJSONObject(i);
<del>
<del> String mealName = meal.getString("txtDayP... | |
JavaScript | bsd-3-clause | becbe18d7e2df798c1132d9f9c6a10a0af48a13c | 0 | openaq/openaq.org,openaq/openaq.org,openaq/openaq.org | import React, { useState, useEffect } from 'react';
import PropTypes from 'prop-types';
import config from '../../config';
export default function LocationsSource({ activeParameter, map, children }) {
const [sourceId, setSourceId] = useState(null);
useEffect(() => {
if (!map.getSource(`locations-source-${act... | app/assets/scripts/components/map/locations-source.js | import React, { useState, useEffect } from 'react';
import PropTypes from 'prop-types';
import config from '../../config';
export default function LocationsSource({ activeParameter, map, children }) {
const [sourceId, setSourceId] = useState(null);
useEffect(() => {
if (!map.getSource(`locations-source-${act... | Don't remove source
Its causing more trouble than it helps
| app/assets/scripts/components/map/locations-source.js | Don't remove source | <ide><path>pp/assets/scripts/components/map/locations-source.js
<ide>
<ide> return () => {
<ide> setSourceId(null);
<del> if (map.getSource(`locations-source-${activeParameter}`)) {
<del> map.removeSource(`locations-source-${activeParameter}`);
<del> }
<ide> };
<ide> }, [activeParamete... | |
Java | apache-2.0 | 3eef54097b8ec96d0bdd71499f944f0484787021 | 0 | swps/cassandra,fengshao0907/Cassandra-Research,a-buck/cassandra,WorksApplications/cassandra,ollie314/cassandra,rmarchei/cassandra,helena/cassandra,chaordic/cassandra,juiceblender/cassandra,kgreav/cassandra,nvoron23/cassandra,aweisberg/cassandra,yhnishi/cassandra,spodkowinski/cassandra,thelastpickle/cassandra,ibmsoe/cas... | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | src/java/org/apache/cassandra/io/compress/CompressionMetadata.java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | make CM.Writer.close idempotent
| src/java/org/apache/cassandra/io/compress/CompressionMetadata.java | make CM.Writer.close idempotent | <ide><path>rc/java/org/apache/cassandra/io/compress/CompressionMetadata.java
<ide>
<ide> public void close() throws IOException
<ide> {
<del> getFD().sync();
<add> if (getChannel().isOpen()) // if RAF.closed were public we could just use that, but it's not
<add> get... | |
Java | apache-2.0 | 07f998e45746f2da0f0364dfc763a50979505c7f | 0 | apache/logging-log4j2,codescale/logging-log4j2,GFriedrich/logging-log4j2,neuro-sys/logging-log4j2,lqbweb/logging-log4j2,MagicWiz/log4j2,ChetnaChaudhari/logging-log4j2,MagicWiz/log4j2,xnslong/logging-log4j2,renchunxiao/logging-log4j2,neuro-sys/logging-log4j2,GFriedrich/logging-log4j2,lqbweb/logging-log4j2,pisfly/logging... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache license, Version 2.0
* (the "License"); you may n... | log4j-core/src/test/java/org/apache/logging/log4j/core/appender/routing/RoutingAppenderTest.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache license, Version 2.0
* (the "License"); you may n... | Use getListAppender.
git-svn-id: de5ce936019686f47409c93bcc5e202a9739563b@1618801 13f79535-47bb-0310-9956-ffa450edef68
| log4j-core/src/test/java/org/apache/logging/log4j/core/appender/routing/RoutingAppenderTest.java | Use getListAppender. | <ide><path>og4j-core/src/test/java/org/apache/logging/log4j/core/appender/routing/RoutingAppenderTest.java
<ide>
<ide> @Before
<ide> public void setUp() throws Exception {
<del> this.app = (ListAppender) this.init.getAppender("List");
<add> this.app = this.init.getListAppender("List");
<ide> ... | |
Java | apache-2.0 | 0649c7b9584bb7e0a1f24c25b846e5aa804e2e2f | 0 | stari4ek/ExoPlayer,google/ExoPlayer,ened/ExoPlayer,ened/ExoPlayer,stari4ek/ExoPlayer,amzn/exoplayer-amazon-port,google/ExoPlayer,amzn/exoplayer-amazon-port,stari4ek/ExoPlayer,amzn/exoplayer-amazon-port,google/ExoPlayer,androidx/media,androidx/media,androidx/media,ened/ExoPlayer | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | library/core/src/main/java/com/google/android/exoplayer2/mediacodec/MediaCodecRenderer.java | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | MediaCodecRenderer: apply rendering limit on feed
PiperOrigin-RevId: 297873726
| library/core/src/main/java/com/google/android/exoplayer2/mediacodec/MediaCodecRenderer.java | MediaCodecRenderer: apply rendering limit on feed | <ide><path>ibrary/core/src/main/java/com/google/android/exoplayer2/mediacodec/MediaCodecRenderer.java
<ide> // We have a format.
<ide> maybeInitCodec();
<ide> if (codec != null) {
<del> long drainStartTimeMs = SystemClock.elapsedRealtime();
<add> long renderStartTimeMs = SystemClock.elap... | |
Java | apache-2.0 | e397812b11a1229189333d74283624aa0ac0df99 | 0 | sematext/solr-redis | package com.sematext.solr.redis;
import com.sematext.lucene.query.TaggedQuery;
import com.sematext.solr.redis.command.Command;
import com.sematext.solr.redis.command.Eval;
import com.sematext.solr.redis.command.EvalSha;
import com.sematext.solr.redis.command.Get;
import com.sematext.solr.redis.command.HGet;
import com... | src/main/java/com/sematext/solr/redis/RedisQParser.java | package com.sematext.solr.redis;
import com.sematext.lucene.query.TaggedQuery;
import com.sematext.solr.redis.command.Command;
import com.sematext.solr.redis.command.Eval;
import com.sematext.solr.redis.command.EvalSha;
import com.sematext.solr.redis.command.Get;
import com.sematext.solr.redis.command.HGet;
import com... | Fixed styling issues introduced in previous commit
| src/main/java/com/sematext/solr/redis/RedisQParser.java | Fixed styling issues introduced in previous commit | <ide><path>rc/main/java/com/sematext/solr/redis/RedisQParser.java
<ide> booleanClausesTotal, req.getParamString());
<ide>
<ide> if (queryTag == null || queryTag.isEmpty()) {
<del> if(this.operator == BooleanClause.Occur.MUST){
<add> if (this.operator == BooleanClause.Occur.MUST) {
<ide> r... | |
Java | apache-2.0 | 6d7582591cd75b27d6ebf3ef5471b98acc9ae5b5 | 0 | ButterflyNetwork/bazel,akira-baruah/bazel,perezd/bazel,meteorcloudy/bazel,dslomov/bazel,ulfjack/bazel,twitter-forks/bazel,werkt/bazel,cushon/bazel,twitter-forks/bazel,bazelbuild/bazel,davidzchen/bazel,safarmer/bazel,perezd/bazel,dslomov/bazel,katre/bazel,ButterflyNetwork/bazel,twitter-forks/bazel,akira-baruah/bazel,ulf... | // Copyright 2015 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | src/main/java/com/google/devtools/build/lib/rules/apple/AppleCommandLineOptions.java | // Copyright 2015 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | Improve documentation on {mac|watch|i|tv}os_minimum_os and {mac|watch|i|tv}os_sdk_version to explain how defaults are determined.
PiperOrigin-RevId: 279984024
| src/main/java/com/google/devtools/build/lib/rules/apple/AppleCommandLineOptions.java | Improve documentation on {mac|watch|i|tv}os_minimum_os and {mac|watch|i|tv}os_sdk_version to explain how defaults are determined. | <ide><path>rc/main/java/com/google/devtools/build/lib/rules/apple/AppleCommandLineOptions.java
<ide> public String xcodeVersion;
<ide>
<ide> @Option(
<del> name = "ios_sdk_version",
<del> defaultValue = "null",
<del> converter = DottedVersionConverter.class,
<del> documentationCategory = OptionDocument... | |
Java | apache-2.0 | ec7824f6de9cc2cacc5ba91b23f28c2cfa0dfe02 | 0 | thirdiron/mendeley-android-sdk,Mendeley/mendeley-android-sdk | package com.mendeley.api.network;
import android.os.AsyncTask;
import com.mendeley.api.callbacks.RequestHandle;
import com.mendeley.api.exceptions.MendeleyException;
import com.mendeley.api.params.Page;
import com.mendeley.api.util.Utils;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputS... | src/com/mendeley/api/network/NetworkTask.java | package com.mendeley.api.network;
import android.os.AsyncTask;
import com.mendeley.api.callbacks.RequestHandle;
import com.mendeley.api.exceptions.MendeleyException;
import com.mendeley.api.params.Page;
import com.mendeley.api.util.Utils;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputS... | Fix Calabash issue #51, NPE crash in getResponseHeaders.
| src/com/mendeley/api/network/NetworkTask.java | Fix Calabash issue #51, NPE crash in getResponseHeaders. | <ide><path>rc/com/mendeley/api/network/NetworkTask.java
<ide> */
<ide> protected void getResponseHeaders() throws IOException {
<ide> Map<String, List<String>> headersMap = con.getHeaderFields();
<add> if (headersMap == null) {
<add> // No headers implies an error, which should be han... | |
Java | mit | 3d5f04cf91474464d0a20d2c62041bdc362ce355 | 0 | josh314/aurora | package ninja.joshdavis;
import java.io.IOException;
import java.util.Collection;
import java.util.HashSet;
import java.util.concurrent.Future;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ConcurrentLinkedQueue;
import com.ning.http.client.*;
import com.ning.http.client.extra.*;
public... | src/main/java/ninja/joshdavis/Crawler.java | package ninja.joshdavis;
import java.io.IOException;
import java.util.Collection;
import java.util.HashSet;
import java.util.concurrent.Future;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ConcurrentLinkedQueue;
import com.ning.http.client.*;
import com.ning.http.client.extra.*;
public... | comments
| src/main/java/ninja/joshdavis/Crawler.java | comments | <ide><path>rc/main/java/ninja/joshdavis/Crawler.java
<ide> }
<ide> client.close();
<ide> }
<del>
<add> /** Print the current crawler status. */
<ide> public void print_status()
<ide> {
<ide> System.out.println("In queue: " + queue.size()); | |
Java | mit | error: pathspec 'cracking-the-coding-interview/18-hard/P1801.java' did not match any file(s) known to git
| 157fc542b1774f650765cee0104c891936a364cb | 1 | zw267/coding-practice,zw267/coding-practice,zw267/coding-practice,zw267/coding-practice | /* P1801
*
* Write a functin that adds two numbers. You should not use + or any
* arithmetic operators.
*/
public class P1801 {
public static int add(int a, int b) {
int c;
while (b != 0) {
c = a ^ b;
b = (a & b) << 1;
a = c;
}
return a;
... | cracking-the-coding-interview/18-hard/P1801.java | P1801
| cracking-the-coding-interview/18-hard/P1801.java | P1801 | <ide><path>racking-the-coding-interview/18-hard/P1801.java
<add>/* P1801
<add> *
<add> * Write a functin that adds two numbers. You should not use + or any
<add> * arithmetic operators.
<add> */
<add>
<add>public class P1801 {
<add> public static int add(int a, int b) {
<add> int c;
<add> while (b != 0... | |
Java | mit | 03db5209f63881361141b7720ba26f865e11aa93 | 0 | Springrbua/typescript.java,angelozerr/typescript.java,angelozerr/typescript.java,angelozerr/typescript.java,Springrbua/typescript.java,angelozerr/typescript.java,Springrbua/typescript.java,angelozerr/typescript.java,Springrbua/typescript.java,Springrbua/typescript.java | /**
* Copyright (c) 2013-2016 Angelo ZERR.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* ... | core/ts.core/src/ts/utils/ZipUtils.java | /**
* Copyright (c) 2013-2016 Angelo ZERR.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* ... | Link target path from link name
As commented by @angelozerr (but not tested as It seems that if you include a "hard link" in a .tar.gz archive, no link information is kept) | core/ts.core/src/ts/utils/ZipUtils.java | Link target path from link name | <ide><path>ore/ts.core/src/ts/utils/ZipUtils.java
<ide> if (!linkBaseDir.exists()) {
<ide> linkBaseDir.mkdirs();
<ide> }
<del> Path target = new File(linkFile.getParentFile(), entry.getLinkName()).toPath();
<add> Path target = Paths.get(entry.getLinkName());
<ide> Files.createLink(linkFile.... | |
Java | apache-2.0 | 99812aa5e36d973884e4c2d5c6355f207cf96f28 | 0 | akirakw/asakusafw,cocoatomo/asakusafw,cocoatomo/asakusafw,ashigeru/asakusafw,akirakw/asakusafw,asakusafw/asakusafw,asakusafw/asakusafw,ashigeru/asakusafw | /**
* Copyright 2011-2013 Asakusa Framework Team.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | directio-project/asakusa-directio-plugin/src/main/java/com/asakusafw/compiler/directio/DirectFileIoProcessor.java | /**
* Copyright 2011-2013 Asakusa Framework Team.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | Fixed #330.
Unreadable error message when Direct I/O may override another model
output.
| directio-project/asakusa-directio-plugin/src/main/java/com/asakusafw/compiler/directio/DirectFileIoProcessor.java | Fixed #330. | <ide><path>irectio-project/asakusa-directio-plugin/src/main/java/com/asakusafw/compiler/directio/DirectFileIoProcessor.java
<ide> }
<ide> DirectFileInputDescription other = extract(entry.getValue());
<ide> getEnvironment().error(
<del> "出力が別の入力を上書きし... | |
Java | apache-2.0 | fcfcc13cc843495d28e379ccfb2a5515b3182618 | 0 | ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma | /*
* The Gemma project.
*
* Copyright (c) 2006 University of British Columbia
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | gemma-mda/src/main/java/ubic/gemma/model/genome/sequenceAnalysis/BlatResultDaoImpl.java | /*
* The Gemma project.
*
* Copyright (c) 2006 University of British Columbia
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | speling
| gemma-mda/src/main/java/ubic/gemma/model/genome/sequenceAnalysis/BlatResultDaoImpl.java | speling | <ide><path>emma-mda/src/main/java/ubic/gemma/model/genome/sequenceAnalysis/BlatResultDaoImpl.java
<ide> public ubic.gemma.model.genome.sequenceAnalysis.BlatResult findOrCreate(
<ide> ubic.gemma.model.genome.sequenceAnalysis.BlatResult blatResult ) {
<ide> if ( blatResult.getQuerySequence() == nu... | |
Java | epl-1.0 | d637f1e6ac41b871b666a92b1c53cef68419eab9 | 0 | theanuradha/debrief,theanuradha/debrief,debrief/debrief,theanuradha/debrief,theanuradha/debrief,theanuradha/debrief,debrief/debrief,debrief/debrief,debrief/debrief,theanuradha/debrief,debrief/debrief,theanuradha/debrief,debrief/debrief | package org.mwc.debrief.track_shift.ambiguity;
import java.awt.Color;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.List;
import java.util.Map;... | org.mwc.debrief.track_shift/src/org/mwc/debrief/track_shift/ambiguity/AmbiguityResolver.java | package org.mwc.debrief.track_shift.ambiguity;
import java.awt.Color;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.List;
import java.util.Map;... | Fix values used in testing
| org.mwc.debrief.track_shift/src/org/mwc/debrief/track_shift/ambiguity/AmbiguityResolver.java | Fix values used in testing | <ide><path>rg.mwc.debrief.track_shift/src/org/mwc/debrief/track_shift/ambiguity/AmbiguityResolver.java
<ide>
<ide> // try to get zones using ambiguity delta
<ide> final LegsAndZigs res =
<del> solver.sliceIntoLegsUsingAmbiguity(track, 0.7, 0.2, null, null);
<add> solver.sliceIntoLegsUsing... | |
JavaScript | mit | ffb0971f1c7b06fccdf76806f6e159e130dc0e43 | 0 | svn2github/SVGKit,svn2github/SVGKit,svn2github/SVGKit,svn2github/SVGKit | /***
SVGKit.js 0.1
See <http://svgkit.sourceforge.net/> for documentation, downloads, license, etc.
(c) 2006-2007 Jason Gallicchio. All rights Reserved.
Some notes:
http://www.sitepoint.com/article/oriented-programming-2
http://www.sitepoint.com/article/javascript-objects
At some point I'd lik... | SVGKit/SVGKit.js | /***
SVGKit.js 0.1
See <http://svgkit.sourceforge.net/> for documentation, downloads, license, etc.
(c) 2006-2007 Jason Gallicchio. All rights Reserved.
Some notes:
http://www.sitepoint.com/article/oriented-programming-2
http://www.sitepoint.com/article/javascript-objects
At some point I'd lik... | Comment change on location of convert python script
git-svn-id: c6f97cf4c8acc6a30836c0e2115847d880ab0465@389 d1cfad4a-9815-0410-8b6e-f025c34e1c2d
| SVGKit/SVGKit.js | Comment change on location of convert python script | <ide><path>VGKit/SVGKit.js
<ide> SVGKit._svgMIME = 'image/svg+xml';
<ide> SVGKit._svgEmptyName = 'empty.svg';
<ide> SVGKit._SVGiKitBaseURI = '';
<del>SVGKit._errorText = "You can't display SVG. Download Firefox 1.5." ;
<del>SVGKit._convert_url = 'http://brainflux.org/cgi-bin/convert_svg.py' // Should be customized to ... | |
Java | mit | 930d3b53e587dfbd65cb371817f3a98d59968d05 | 0 | podio/podio-android | /*
* Copyright (C) 2014 Copyright Citrix Systems, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, c... | sdk/src/com/podio/sdk/client/RequestFuture.java | /*
* Copyright (C) 2014 Copyright Citrix Systems, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, c... | Temporary quick-n-dirty fix for unhandled exception issue.
Currently the SDK delivers all and every failures through an Exception.
The "crash" described in the related issue is what seems to be the client
failing in handeling such a failure. It is, hence, not a crash as in a
malfunctioning SDK, but rather a result of ... | sdk/src/com/podio/sdk/client/RequestFuture.java | Temporary quick-n-dirty fix for unhandled exception issue. | <ide><path>dk/src/com/podio/sdk/client/RequestFuture.java
<ide> }
<ide>
<ide> private RestResult<T> getResultNow() {
<add> // TODO: Catching the exceptions and returning null is a temporary,
<add> // quick-n-dirty fix to resolve immediate blocking issues in QA. A more
<add> // solid soluti... | |
Java | apache-2.0 | 18b811aac4313e1ac67dab4048695bd0cf9e40ca | 0 | apache/avro,apache/avro,apache/avro,apache/avro,apache/avro,apache/avro,apache/avro,apache/avro,apache/avro,apache/avro,apache/avro,apache/avro | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | lang/java/avro/src/main/java/org/apache/avro/io/parsing/ResolvingGrammarGenerator.java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | AVRO-2702: ResolvingGrammarGenerator Union to use reader schema instead of writer schema
| lang/java/avro/src/main/java/org/apache/avro/io/parsing/ResolvingGrammarGenerator.java | AVRO-2702: ResolvingGrammarGenerator Union to use reader schema instead of writer schema | <ide><path>ang/java/avro/src/main/java/org/apache/avro/io/parsing/ResolvingGrammarGenerator.java
<ide>
<ide> } else if (action.writer.getType() == Schema.Type.UNION) {
<ide> if (((Resolver.WriterUnion) action).unionEquiv) {
<del> return simpleGen(action.writer, seen);
<add> return simpleGen(act... | |
Java | apache-2.0 | e10cefb9793c50535e887dda3c844fd17d5df882 | 0 | lefloh/ozark,lefloh/ozark,Daniel-Dos/ozark,mvc-spec/ozark,mvc-spec/ozark,dmaidaniuk/ozark,lefloh/ozark,Daniel-Dos/ozark,chkal/ozark,chkal/ozark,dmaidaniuk/ozark,dmaidaniuk/ozark,chkal/ozark,dmaidaniuk/ozark,mvc-spec/ozark,Daniel-Dos/ozark,dmaidaniuk/ozark | /*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2014-2015 Oracle and/or its affiliates. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
* and Distribution Licens... | test/book-cdi/src/main/java/com/oracle/ozark/sample/MyApplication.java | /*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2014-2015 Oracle and/or its affiliates. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
* and Distribution Licens... | Removed repeated line.
| test/book-cdi/src/main/java/com/oracle/ozark/sample/MyApplication.java | Removed repeated line. | <ide><path>est/book-cdi/src/main/java/com/oracle/ozark/sample/MyApplication.java
<ide> public Set<Class<?>> getClasses() {
<ide> final Set<Class<?>> set = new HashSet<>();
<ide> set.add(BookController.class);
<del> set.add(BookController.class);
<ide> return set;
<ide> }
<ide> } | |
Java | apache-2.0 | a635f9fc85d86c714ddfa860cfc96c180083671c | 0 | APriestman/autopsy,rcordovano/autopsy,maxrp/autopsy,wschaeferB/autopsy,eXcomm/autopsy,dgrove727/autopsy,rcordovano/autopsy,sidheshenator/autopsy,rcordovano/autopsy,karlmortensen/autopsy,sidheshenator/autopsy,rcordovano/autopsy,narfindustries/autopsy,esaunders/autopsy,mhmdfy/autopsy,millmanorama/autopsy,eXcomm/autopsy,k... | /*
* Autopsy Forensic Browser
*
* Copyright 2013 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://ww... | Core/src/org/sleuthkit/autopsy/report/ReportGenerator.java | /*
* Autopsy Forensic Browser
*
* Copyright 2013 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://ww... | Removed stopwatch and debug printlns.
Conflicts:
Core/src/org/sleuthkit/autopsy/report/ReportGenerator.java
| Core/src/org/sleuthkit/autopsy/report/ReportGenerator.java | Removed stopwatch and debug printlns. | <ide><path>ore/src/org/sleuthkit/autopsy/report/ReportGenerator.java
<ide> continue;
<ide> }
<ide>
<del> StopWatch stopwatch = new StopWatch();
<del> stopwatch.start();
<ide> List<ArtifactData> unsortedArtifacts = getFilteredArtifacts(ty... | |
JavaScript | mit | 807432e85782474766c7f411a2fce9b10a68b8af | 0 | zubairq/gosharedata,zubairq/yazz,zubairq/yazz,zubairq/gosharedata | #!/usr/bin/env node
// Module to control application life.
// Module to create native browser window.
var startNodeServer = false
const path = require("path");
const url = require('url');
var fork = require('child_process');
var fs = require('fs');
var ip = require('ip');
var isWin = /^win/.test(pr... | src/electron.js | #!/usr/bin/env node
// Module to control application life.
// Module to create native browser window.
var startNodeServer = false
const path = require("path");
const url = require('url');
var fork = require('child_process');
var fs = require('fs');
var ip = require('ip');
var isWin = /^win/.test(pr... | Adding debug code
| src/electron.js | Adding debug code | <ide><path>rc/electron.js
<ide>
<ide>
<ide> var expressWs = require('express-ws')(app);
<del>console.log("__filename: " + __filename)
<del>console.log("__dirname: " + __dirname)
<del>
<del>
<del>console.log("Platform: " + process.platform)
<add>outputDebug("__filename: " + __filename)
<add>outputDebug("__dirnam... | |
Java | agpl-3.0 | 46b50a03652a56e518fbd3eef6e33595996e7d4b | 0 | a-gogo/agogo,liimaorg/liima,liimaorg/liima,a-gogo/agogo,liimaorg/liima,liimaorg/liima,liimaorg/liima,a-gogo/agogo,liimaorg/liima,a-gogo/agogo,a-gogo/agogo,a-gogo/agogo,liimaorg/liima,liimaorg/liima,a-gogo/agogo | /*
* AMW - Automated Middleware allows you to manage the configurations of
* your Java EE applications on an unlimited number of different environments
* with various versions, including the automated deployment of those apps.
* Copyright (C) 2013-2016 by Puzzle ITC
*
* This program is free software: you can redi... | AMW_business/src/main/java/ch/puzzle/itc/mobiliar/business/resourcegroup/control/CopyResourceDomainService.java | /*
* AMW - Automated Middleware allows you to manage the configurations of
* your Java EE applications on an unlimited number of different environments
* with various versions, including the automated deployment of those apps.
* Copyright (C) 2013-2016 by Puzzle ITC
*
* This program is free software: you can redi... | Added audit service call, formatting and cleanup
| AMW_business/src/main/java/ch/puzzle/itc/mobiliar/business/resourcegroup/control/CopyResourceDomainService.java | Added audit service call, formatting and cleanup | <ide><path>MW_business/src/main/java/ch/puzzle/itc/mobiliar/business/resourcegroup/control/CopyResourceDomainService.java
<ide>
<ide> package ch.puzzle.itc.mobiliar.business.resourcegroup.control;
<ide>
<add>import ch.puzzle.itc.mobiliar.business.auditview.control.AuditService;
<ide> import ch.puzzle.itc.mobiliar.bus... | |
JavaScript | mit | 067d54bdcc7c24c65d05fe0769471006eac8ff50 | 0 | irynabond/word-guesser,irynabond/word-guesser | var userStats;
var mode;
var showingUserStats = false;
var verySecureGlobalToken = false;
var untriedLetters = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'];
//calling gameID(567) sets id to 567 and returns 567. subsequent calling gameID() returns 567.
var ga... | public/script.js | var userStats;
var mode;
var showingUserStats = false;
var verySecureGlobalToken = false;
var untriedLetters = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'];
//calling gameID(567) sets id to 567 and returns 567. subsequent calling gameID() returns 567.
var ga... | Style fix
| public/script.js | Style fix | <ide><path>ublic/script.js
<ide>
<ide> //calling gameID(567) sets id to 567 and returns 567. subsequent calling gameID() returns 567.
<ide> var gameID = function(set) {
<del> var id = set;
<del> return function(set) {
<del> if (set) return id = set;
<del> else return id;
<del> };
<add> var id = set;
<add> retu... | |
JavaScript | mit | 1088695f2fe91a4b9ca08fe40aaed131aef97d46 | 0 | glistening-gibus/hackifieds,Hackifieds/hackifieds,glistening-gibus/hackifieds,Hackifieds/hackifieds,glistening-gibus/hackifieds | // To run seed.js
// Prereq: must clear categories table before running to avoid duplicate categories (same can be applied to users and listings table if your database already has the seed data)
// In terminal run: node seed.js
var data = require('./data');
var db = require('./db');
// iterate through data.json
data.... | db/seed.js | var data = require('./data');
var db = require('./db');
data.forEach(function(table) {
if (table.hasOwnProperty('categories')) {
table.categories.forEach(function(entry) {
db.Category.create(entry)
.then(function(category) {
console.log('Created category: ', category.dataValues.categoryNa... | Add comments to seed.js
| db/seed.js | Add comments to seed.js | <ide><path>b/seed.js
<add>// To run seed.js
<add>// Prereq: must clear categories table before running to avoid duplicate categories (same can be applied to users and listings table if your database already has the seed data)
<add>// In terminal run: node seed.js
<add>
<ide> var data = require('./data');
<ide> var db =... | |
JavaScript | mit | 7f4dea1ea88396500c14abcdf5c4c22a8953da46 | 0 | marcuswestin/std.js,ASAPPinc/std.js | var identity = require('std/identity')
module.exports = function sum(list, fn) {
if (!list) { return 0 }
if (!fn) { fn = identity }
var total = 0
each(list, function(val, key) {
total += fn(val, key)
})
return total
}
| sum.js | module.exports = function sum(list, fn) {
if (!list) { return 0 }
var total = 0
for (var i=0; i<list.length; i++) {
total += fn(list[i])
}
return total
}
| make identity the default sum function, to easily sum up an array of numbers
| sum.js | make identity the default sum function, to easily sum up an array of numbers | <ide><path>um.js
<add>var identity = require('std/identity')
<add>
<ide> module.exports = function sum(list, fn) {
<ide> if (!list) { return 0 }
<add> if (!fn) { fn = identity }
<ide> var total = 0
<del> for (var i=0; i<list.length; i++) {
<del> total += fn(list[i])
<del> }
<add> each(list, function(val, key) {
<add... | |
Java | mit | cc4814646c6643b0dac10306b00a35f7281ecfc5 | 0 | MrMilan/DastaMessageCreator | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package dastamessageCreator;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBContext;
import javax.xml.bi... | src/dastamessageCreator/DastaMessageJava.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package dastamessageCreator;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBContext;
import javax.xml.bi... | Pridan Marsharel | src/dastamessageCreator/DastaMessageJava.java | Pridan Marsharel | <ide><path>rc/dastamessageCreator/DastaMessageJava.java
<ide> import org.w3c.dom.Element;
<ide> import java.io.File;
<ide> import java.io.IOException;
<add>import javax.xml.bind.Unmarshaller;
<ide> import javax.xml.parsers.ParserConfigurationException;
<ide> import org.xml.sax.SAXException;
<ide>
<ide> /**
<ide> ... | |
Java | lgpl-2.1 | 902c8c38081babe9574d4a199c68abc77aee7b9c | 0 | sbonoc/opencms-core,serrapos/opencms-core,sbonoc/opencms-core,alkacon/opencms-core,alkacon/opencms-core,alkacon/opencms-core,serrapos/opencms-core,serrapos/opencms-core,gallardo/opencms-core,victos/opencms-core,serrapos/opencms-core,MenZil/opencms-core,serrapos/opencms-core,MenZil/opencms-core,alkacon/opencms-core,ggiu... | package com.opencms.file;
import java.util.*;
import javax.servlet.http.*;
import com.opencms.core.*;
/**
* This class describes a resource broker for user and groups in the Cms.<BR/>
* <B>All</B> Methods get a first parameter: A_CmsUser. It is the current user. This
* is for security-reasons, to check if this c... | src/com/opencms/file/CmsRbUserGroup.java | package com.opencms.file;
import java.util.*;
import javax.servlet.http.*;
import com.opencms.core.*;
/**
* This class describes a resource broker for user and groups in the Cms.<BR/>
* <B>All</B> Methods get a first parameter: A_CmsUser. It is the current user. This
* is for security-reasons, to check if this c... | Update: updated userInGroup Method
| src/com/opencms/file/CmsRbUserGroup.java | Update: updated userInGroup Method | <ide><path>rc/com/opencms/file/CmsRbUserGroup.java
<ide> * This class has package visibility for security reasons.
<ide> *
<ide> * @author Michael Emmerich
<del> * @version $Revision: 1.10 $ $Date: 2000/01/04 16:23:26 $
<add> * @version $Revision: 1.11 $ $Date: 2000/01/04 17:06:05 $
<ide> */
<ide> class CmsRbUser... | |
Java | apache-2.0 | 7052621f39aa127406e977e8beb95c501596d186 | 0 | jimma/xerces,jimma/xerces,RackerWilliams/xercesj,ronsigal/xerces,RackerWilliams/xercesj,RackerWilliams/xercesj,ronsigal/xerces,jimma/xerces,ronsigal/xerces | /*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 2000-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | src/org/apache/xerces/parsers/DOMASBuilderImpl.java | /*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 2000-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | The work of "try/catch XNIException" is already done in parseASInputSource,
so we shouldn't do it again in parseASURI.
git-svn-id: 21df804813e9d3638e43477f308dd0be51e5f30f@318322 13f79535-47bb-0310-9956-ffa450edef68
| src/org/apache/xerces/parsers/DOMASBuilderImpl.java | The work of "try/catch XNIException" is already done in parseASInputSource, so we shouldn't do it again in parseASURI. | <ide><path>rc/org/apache/xerces/parsers/DOMASBuilderImpl.java
<ide> public ASModel parseASURI(String uri)
<ide> throws DOMASException, Exception {
<ide> XMLInputSource source = new XMLInputSource(null, uri, null);
<del> try {
<del> return parseASInputSource(so... | |
Java | apache-2.0 | 1ee74217dcc5c48adda791517e4f38be4b2e78ba | 0 | ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE | package uk.ac.ebi.quickgo.rest.search.results.transformer;
import uk.ac.ebi.quickgo.rest.search.request.converter.RESTFilterConverterFactory;
import uk.ac.ebi.quickgo.rest.search.results.QueryResult;
import java.util.List;
import static com.google.common.base.Preconditions.checkArgument;
/**
* For every model held... | rest-common/src/main/java/uk/ac/ebi/quickgo/rest/search/results/transformer/ValueInjectionToQueryResults.java | package uk.ac.ebi.quickgo.rest.search.results.transformer;
import uk.ac.ebi.quickgo.rest.search.request.converter.RESTFilterConverterFactory;
import uk.ac.ebi.quickgo.rest.search.results.QueryResult;
import java.util.List;
import static com.google.common.base.Preconditions.checkArgument;
/**
* For every model held... | Reformat.
| rest-common/src/main/java/uk/ac/ebi/quickgo/rest/search/results/transformer/ValueInjectionToQueryResults.java | Reformat. | <ide><path>est-common/src/main/java/uk/ac/ebi/quickgo/rest/search/results/transformer/ValueInjectionToQueryResults.java
<ide> this.restFilterConverterFactory = restFilterConverterFactory;
<ide> }
<ide>
<del> @Override public void mutate(QueryResult<R> results, List<ResponseValueInjector<R>> requiredInje... | |
JavaScript | apache-2.0 | a25da4ebf4c72da01ea8785179b9582a81372e7f | 0 | krombel/matrix-js-sdk,matrix-org/matrix-js-sdk,matrix-org/matrix-js-sdk,matrix-org/matrix-js-sdk,krombel/matrix-js-sdk,krombel/matrix-js-sdk,matrix-org/matrix-js-sdk | /*
Copyright 2017 Vector Creations Ltd
Copyright 2018 New Vector Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable la... | src/crypto/store/indexeddb-crypto-store-backend.js | /*
Copyright 2017 Vector Creations Ltd
Copyright 2018 New Vector Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable la... | Ignore inserts of duplicate inbound group sessions
Rather than aborting the whole txn
This is causing e2e migration fails in the wild
| src/crypto/store/indexeddb-crypto-store-backend.js | Ignore inserts of duplicate inbound group sessions | <ide><path>rc/crypto/store/indexeddb-crypto-store-backend.js
<ide> senderCurve25519Key, sessionId, session: sessionData,
<ide> });
<ide> addReq.onerror = () => {
<del> abortWithException(txn, new Error(
<del> "Failed to add inbound group session - session may alread... | |
JavaScript | mit | bb549b24d9d5e12dffb9a7a27573dd5d95446a6d | 0 | Themacprod/sshcmd | /* global module:true */
"use strict";
var React = require("react"),
_ = require("lodash"),
request = require("superagent");
module.exports = React.createClass({
getConsecutiveOffsetChunk: function() {
var difference = -1,
temp = [],
result = [];
_.forEach(this.pro... | react_components/register.js | /* global module:true */
"use strict";
var React = require("react"),
_ = require("lodash"),
request = require("superagent");
module.exports = React.createClass({
getConsecutiveOffsetChunk: function() {
var difference = -1,
temp = [],
result = [];
_.forEach(this.pro... | Beautify code
| react_components/register.js | Beautify code | <ide><path>eact_components/register.js
<ide> .post("/api/i2cread/")
<ide> .send({
<ide> ip: this.props.ip,
<del> cmd: "I2cRead",
<add> cmd: "I2cRead",
<ide> bus: this.props.bus,
<ide> address: this.props.address,
<ide> ... | |
Java | apache-2.0 | f3d53d77ed242ab03bdfb44cbd41fe66cfab9f11 | 0 | UAK-35/wro4j,dacofr/wro4j,dacofr/wro4j,wro4j/wro4j,UAK-35/wro4j,UAK-35/wro4j,wro4j/wro4j,dacofr/wro4j,dacofr/wro4j,wro4j/wro4j,UAK-35/wro4j | /*
* Copyright (c) 2008. All rights reserved.
*/
package ro.isdc.wro.manager;
import java.beans.PropertyChangeListener;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.ser... | wro4j-core/src/main/java/ro/isdc/wro/manager/WroManager.java | /*
* Copyright (c) 2008. All rights reserved.
*/
package ro.isdc.wro.manager;
import java.beans.PropertyChangeListener;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.ser... | ETag must also set before any content, get the outputstream as late as possible
| wro4j-core/src/main/java/ro/isdc/wro/manager/WroManager.java | ETag must also set before any content, get the outputstream as late as possible | <ide><path>ro4j-core/src/main/java/ro/isdc/wro/manager/WroManager.java
<ide> final HttpServletRequest request = Context.get().getRequest();
<ide> final HttpServletResponse response = Context.get().getResponse();
<ide>
<del> final OutputStream os = response.getOutputStream();
<add> OutputStream os = null;... | |
Java | mit | c44d2c710f82246228ee54c58362ffa95cfd7abf | 0 | paveyry/LyreLand,paveyry/LyreLand | package generation;
import analysis.harmonic.ChordDegree;
import training.probability.MarkovMatrix;
import java.util.*;
/**
* Fixme : This class will later be use to generate real and complete bars
* using the probabilities learnt from a given category ...
* It is added now to highlight the future architecture of... | src/generation/Rhythm.java | package generation;
import analysis.harmonic.ChordDegree;
import training.probability.MarkovMatrix;
import java.util.*;
/**
* Fixme : This class will later be use to generate real and complete bars
* using the probabilities learnt from a given category ...
* It is added now to highlight the future architecture of... | generation: rhythm: bad fix when there is no solution
| src/generation/Rhythm.java | generation: rhythm: bad fix when there is no solution | <ide><path>rc/generation/Rhythm.java
<ide> ArrayList<Double> rhythms = new ArrayList<>();
<ide> ArrayList<Double> context = new ArrayList<>();
<ide> context.add(null);
<add> int iter = 0;
<ide> while (currentRhythmlength != rhythmslength) {
<ide> Double newRhythm = 0.0... | |
JavaScript | mit | d14d732938e1ffcc6afe6857a3b09d32a428be46 | 0 | kellym/angular-collection,justinwinslow/angular-collection | (function(angular, _){
'use strict';
// Create local references to array methods we'll want to use later.
var array = [];
var push = array.push;
var slice = array.slice;
var splice = array.splice;
var Model, Collection;
angular.module('ngCollection', [])
.directive('ngCollectionRepeat', ['$parse', '$animate', func... | angular-collection.js | (function(angular, _){
'use strict';
// Create local references to array methods we'll want to use later.
var array = [];
var push = array.push;
var slice = array.slice;
var splice = array.splice;
var Model, Collection;
angular.module('ngCollection', [])
.directive('ngCollectionRepeat', ['$parse', '$animate', func... | Don't remove items from array we're iterating over
| angular-collection.js | Don't remove items from array we're iterating over | <ide><path>ngular-collection.js
<ide> });
<ide>
<ide> // Remove any models that aren't present in the lastest data
<del> that.each(function(model){
<add> _.each(_.clone(that.models), function(model){
<ide> try {
<ide> if (ids.indexOf(model.attributes.id) ... | |
Java | bsd-2-clause | abc8d861b657fd91e73c06fc4cae06f56a71c3bb | 0 | ninchat/ninchat-java,ninchat/ninchat-java | /*
* Copyright (c) 2012-2013, Somia Reality Oy
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list ... | src/com/ninchat/client/transport/WebSocketTransport.java | /*
* Copyright (c) 2012-2013, Somia Reality Oy
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list ... | Added some exceptions to WebSocketTransport. Trying to catch a bug...
| src/com/ninchat/client/transport/WebSocketTransport.java | Added some exceptions to WebSocketTransport. Trying to catch a bug... | <ide><path>rc/com/ninchat/client/transport/WebSocketTransport.java
<ide> try {
<ide> String eventName = null;
<ide>
<del> assert payloadFramesLeft == 0;
<add> if (payloadFramesLeft != 0) {
<add> throw new RuntimeException("Mismatch in payload frame counter!");
<add> }
<ide>
<ide> // First we h... | |
Java | mit | 5d349b9bf0475a8211c719bdb11bd1e9fe8345f4 | 0 | TylerNakamura/Calendar-Event-File-Generator,IHoffman5214/Calendar-Event-File-Generator,TylerNakamura/Calendar-Event-File-Generator,IHoffman5214/Calendar-Event-File-Generator | import java.util.Random;
import java.text.DecimalFormat;
public class Vevent implements Comparable<Vevent>
{
/*
----TEMPLATE----
https://en.wikipedia.org/wiki/ICalendar
BEGIN:VEVENT
UID:uid1@example.com
DTSTAMP:19970714T170000Z
ORGANIZER;CN=John Doe:MAILTO:john.doe@example.com
DTSTART:19970714T170000Z
... | Vevent.java | import java.util.Random;
import java.text.DecimalFormat;
public class Vevent implements Comparable<Vevent>
{
/*
----TEMPLATE----
https://en.wikipedia.org/wiki/ICalendar
BEGIN:VEVENT
UID:uid1@example.com
DTSTAMP:19970714T170000Z
ORGANIZER;CN=John Doe:MAILTO:john.doe@example.com
DTSTART:19970714T170000Z
... | add comment randomization to random event
| Vevent.java | add comment randomization to random event | <ide><path>event.java
<ide> DTSTAMP = getRandomDate();
<ide> DTSTART = getRandomDate();
<ide> DTEND = getRandomDate();
<del>
<add> COMMENT = myRS1.nextString();
<add>
<add> //ensure that the stamp is lesser than the start date of the event
<ide> while(dateIsGreaterThanDate(DTSTAMP, DTSTART))
<ide> ... | |
Java | apache-2.0 | c77005cde848b53e54f9a6d22d2c8240e8184b42 | 0 | dldinternet/resty-gwt,ibaca/resty-gwt,paul-duffy/resty-gwt,Armageddon-/resty-gwt,BiovistaInc/resty-gwt,resty-gwt/resty-gwt,ibaca/resty-gwt,paul-duffy/resty-gwt,Armageddon-/resty-gwt,BiovistaInc/resty-gwt,cguillot/resty-gwt,BiovistaInc/resty-gwt,resty-gwt/resty-gwt,cguillot/resty-gwt,ibaca/resty-gwt,dldinternet/resty-gw... | /**
* Copyright (C) 2009-2012 the original author or authors.
* See the notice.md file distributed with this work for additional
* information regarding copyright ownership.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.... | restygwt/src/main/java/org/fusesource/restygwt/rebind/JsonEncoderDecoderInstanceLocator.java | /**
* Copyright (C) 2009-2012 the original author or authors.
* See the notice.md file distributed with this work for additional
* information regarding copyright ownership.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.... | final touches to make Collections work as Lists
| restygwt/src/main/java/org/fusesource/restygwt/rebind/JsonEncoderDecoderInstanceLocator.java | final touches to make Collections work as Lists | <ide><path>estygwt/src/main/java/org/fusesource/restygwt/rebind/JsonEncoderDecoderInstanceLocator.java
<ide> import java.lang.reflect.Constructor;
<ide> import java.math.BigDecimal;
<ide> import java.math.BigInteger;
<add>import java.util.Collection;
<ide> import java.util.Date;
<ide> import java.util.HashMap;
<ide> im... | |
Java | lgpl-2.1 | ebd7f324c35b2b704baa80f740f5cd1114dcbdb5 | 0 | lopescan/languagetool,janissl/languagetool,lopescan/languagetool,meg0man/languagetool,jimregan/languagetool,languagetool-org/languagetool,meg0man/languagetool,jimregan/languagetool,languagetool-org/languagetool,jimregan/languagetool,languagetool-org/languagetool,lopescan/languagetool,janissl/languagetool,janissl/langua... | /* LanguageTool, a natural language style checker
* Copyright (C) 2005 Daniel Naber (http://www.danielnaber.de)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version ... | trunk/JLanguageTool/src/java/org/languagetool/gui/ConfigurationDialog.java | /* LanguageTool, a natural language style checker
* Copyright (C) 2005 Daniel Naber (http://www.danielnaber.de)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version ... | remove unsafe call to messages.getString
| trunk/JLanguageTool/src/java/org/languagetool/gui/ConfigurationDialog.java | remove unsafe call to messages.getString | <ide><path>runk/JLanguageTool/src/java/org/languagetool/gui/ConfigurationDialog.java
<ide> if (motherTongue == Language.DEMO) {
<ide> motherTongueBox.setSelectedItem(NO_MOTHER_TONGUE);
<ide> } else {
<del> motherTongueBox.setSelectedItem(messages.getString(motherTongue
<del> .getSh... | |
JavaScript | mit | 3ebcb3418ac16c1a1d31f1cca9d173fb0e9519db | 0 | SplicedMind/roomCheckingApp,SplicedMind/roomCheckingApp | function validateLogin()
{
var box = document.getElementById("email").value;
if (box === null || box === "")
{
document.getElementById('m').innerHTML = "Please enter your email";
return false;
}
else if (box.endsWith("andela.com"))
{
return true;
}
else
{
document.getElementById('m').innerHTML = "In... | JScript/login.js | function validateLogin()
{
var box = document.getElementById("email").value;
if (!box.endsWith("andela.com"))
{
alert("You have to enter a valid email!");
return false;
}
} | Updates added
| JScript/login.js | Updates added | <ide><path>Script/login.js
<ide> function validateLogin()
<ide> {
<ide> var box = document.getElementById("email").value;
<del> if (!box.endsWith("andela.com"))
<add> if (box === null || box === "")
<ide> {
<del>
<del> alert("You have to enter a valid email!");
<add> document.getElementById('m').innerHTML = "Plea... | |
Java | lgpl-2.1 | 30e7719bfc5c4cc85dd97481d26886099dd96bc3 | 0 | andreasprlic/biojava,sbliven/biojava-sbliven,emckee2006/biojava,pwrose/biojava,lafita/biojava,pwrose/biojava,emckee2006/biojava,biojava/biojava,andreasprlic/biojava,lafita/biojava,andreasprlic/biojava,pwrose/biojava,biojava/biojava,emckee2006/biojava,andreasprlic/biojava,heuermh/biojava,heuermh/biojava,sbliven/biojava-... | /*
* BioJava development code
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. If you do not have a copy,
* see:
*
* http://www.gnu.org/copyleft/lesser.html
*
* Copyright for t... | biojava-aa-prop/src/main/java/org/biojava/nbio/aaproperties/PeptideProperties.java | /*
* BioJava development code
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. If you do not have a copy,
* see:
*
* http://www.gnu.org/copyleft/lesser.html
*
* Copyright for t... | Methods renaming
| biojava-aa-prop/src/main/java/org/biojava/nbio/aaproperties/PeptideProperties.java | Methods renaming | <ide><path>iojava-aa-prop/src/main/java/org/biojava/nbio/aaproperties/PeptideProperties.java
<ide> * a protein sequence consisting of non-ambiguous characters only
<ide> * @return the array of charges of amino acids in the protein (1 if amino acid is positively charged, -1 if negatively charged, 0 if not charged)... | |
Java | lgpl-2.1 | 68c02aeec3a89d9dd0567367f0796a1f6b9f2b24 | 0 | ebner/collaborilla,ebner/collaborilla | /* $Id$
*
* Copyright (c) 2006, KMR group at KTH (Royal Institute of Technology)
* Licensed under the GNU GPL. For full terms see the file LICENSE.
*/
package se.kth.nada.kmr.collaborilla.ldap;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Iterator;
import se.kth.nada.kmr.collabori... | src/se/kth/nada/kmr/collaborilla/ldap/CollaborillaObject.java | /* $Id$
*
* Copyright (c) 2006, KMR group at KTH (Royal Institute of Technology)
* Licensed under the GNU GPL. For full terms see the file LICENSE.
*/
package se.kth.nada.kmr.collaborilla.ldap;
import java.util.Iterator;
import se.kth.nada.kmr.collaborilla.client.CollaborillaDataSet;
import com.novell.ldap.L... | added some debug output
| src/se/kth/nada/kmr/collaborilla/ldap/CollaborillaObject.java | added some debug output | <ide><path>rc/se/kth/nada/kmr/collaborilla/ldap/CollaborillaObject.java
<ide>
<ide> package se.kth.nada.kmr.collaborilla.ldap;
<ide>
<add>import java.net.URI;
<add>import java.net.URISyntaxException;
<ide> import java.util.Iterator;
<ide>
<ide> import se.kth.nada.kmr.collaborilla.client.CollaborillaDataSet;
<ide> ... | |
JavaScript | mit | 2618369d7a94cb942c7d8f3e67f07a20c225e666 | 0 | kkeh/tracker,eanpherick/tasks,eanpherick/tasks,kkeh/tracker | var GUI = (function() { //IIFE for all Views
/**
This view displays a single task, showing its title, description, status, creator, and assignee (if any). Each TaskView should include one or more controls (e.g. a select or set of buttons) to change its state.
Each task view will be associated with exactly one ... | views.js | var GUI = (function() { //IIFE for all Views
/**
This view displays a single task, showing its title, description, status, creator, and assignee (if any). Each TaskView should include one or more controls (e.g. a select or set of buttons) to change its state.
Each task view will be associated with exactly one ... | subview events are now firing like they should
| views.js | subview events are now firing like they should | <ide><path>iews.js
<ide> var status = this.model.get('status');
<ide> var assignee = this.model.get('assignee');
<ide> assignee = assignee === "" ? "unassigned" : assignee;
<del> var $content = $("<div>");
<del> $content.append($("<h1>").html(this.model.get('title')));
<del> $content.ap... | |
Java | unlicense | adae596a8066bbb45642c98e07bc50dc3f3acde8 | 0 | tifsoft/maven_build_buddy | package com.tifsoft.mavenbuildbuddy.gui;
import java.awt.Font;
import java.awt.GraphicsEnvironment;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JComboBox;
import javax.swing.JPanel;
import javax.swing.JTextPane;
import javax.swing.text.MutableAttributeSet;
im... | src/main/java/com/tifsoft/mavenbuildbuddy/gui/PreferencesPanel.java | package com.tifsoft.mavenbuildbuddy.gui;
import java.awt.Font;
import java.awt.GraphicsEnvironment;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JComboBox;
import javax.swing.JPanel;
import javax.swing.JTextPane;
import javax.swing.text.MutableAttributeSet;
im... | Font update bug fix
| src/main/java/com/tifsoft/mavenbuildbuddy/gui/PreferencesPanel.java | Font update bug fix | <ide><path>rc/main/java/com/tifsoft/mavenbuildbuddy/gui/PreferencesPanel.java
<ide> import javax.swing.JPanel;
<ide> import javax.swing.JTextPane;
<ide> import javax.swing.text.MutableAttributeSet;
<add>import javax.swing.text.SimpleAttributeSet;
<ide> import javax.swing.text.StyleConstants;
<ide> import javax.swing.te... | |
Java | apache-2.0 | db00a2781208958253e832fedef6474bb8c355ef | 0 | MattGong/robotium,acanta2014/robotium,RobotiumTech/robotium,lczgywzyy/robotium,RobotiumTech/robotium,XRacoon/robotiumEx,darker50/robotium,darker50/robotium,shibenli/robotium,pefilekill/robotiumCode,XRacoon/robotiumEx,luohaoyu/robotium,MattGong/robotium,luohaoyu/robotium,Eva1123/robotium,lczgywzyy/robotium,lgs3137/robot... | package com.jayway.android.robotium.core.impl;
import junit.framework.Assert;
import android.app.Activity;
import android.app.ActivityManager;
/**
* This class contains assertActivity() methods.
*
* @author Renas Reda, renas.reda@jayway.com
*
*/
public class Asserter {
private final ActivityUtils activityUtil... | robotium-core/src/main/java/com/jayway/android/robotium/core/impl/Asserter.java | package com.jayway.android.robotium.core.impl;
import junit.framework.Assert;
import android.app.Activity;
import android.app.ActivityManager;
/**
* This class contains assertActivity() methods.
*
* @author Renas Reda, renas.reda@jayway.com
*
*/
public class Asserter {
private final ActivityUtils activityUtil... | Changed method name
| robotium-core/src/main/java/com/jayway/android/robotium/core/impl/Asserter.java | Changed method name | <ide><path>obotium-core/src/main/java/com/jayway/android/robotium/core/impl/Asserter.java
<ide> *
<ide> */
<ide>
<del> public void assertNotLowMemory()
<add> public void assertMemoryNotLow()
<ide> {
<ide> ActivityManager.MemoryInfo mi = new ActivityManager.MemoryInfo();
<ide> ((ActivityManager)activityUtils... | |
Java | agpl-3.0 | 30ff2fb147fdc0ceda7089c4c93a732678365396 | 0 | bhutchinson/kfs,kkronenb/kfs,ua-eas/kfs,ua-eas/kfs,ua-eas/kfs,UniversityOfHawaii/kfs,quikkian-ua-devops/will-financials,kuali/kfs,bhutchinson/kfs,ua-eas/kfs-devops-automation-fork,smith750/kfs,quikkian-ua-devops/kfs,kuali/kfs,quikkian-ua-devops/will-financials,smith750/kfs,quikkian-ua-devops/kfs,quikkian-ua-devops/will... | /*
* Copyright 2007 The Kuali Foundation.
*
* Licensed under the Educational Community License, Version 1.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl1.php
*
* Unless requir... | work/src/org/kuali/kfs/sys/web/struts/KualiAccountingDocumentFormBase.java | /*
* Copyright 2007 The Kuali Foundation.
*
* Licensed under the Educational Community License, Version 1.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl1.php
*
* Unless requir... | Removed reference to HELP system parameter that will be removed tonight.
| work/src/org/kuali/kfs/sys/web/struts/KualiAccountingDocumentFormBase.java | Removed reference to HELP system parameter that will be removed tonight. | <ide><path>ork/src/org/kuali/kfs/sys/web/struts/KualiAccountingDocumentFormBase.java
<ide> * @return String
<ide> */
<ide> public String getAccountingLineImportInstructionsUrl() {
<del> return SpringContext.getBean(KualiConfigurationService.class).getPropertyString(KFSConstants.EXTERNALIZABLE_HELP_... | |
Java | apache-2.0 | 19bb27ca7d209178966704cf0a96e5787119cd80 | 0 | afaucher/see-the-dark,afaucher/see-the-dark,afaucher/see-the-dark | package com.mygdx.game;
import java.util.ArrayList;
import java.util.List;
public abstract class AbstractBodyData implements BodyData {
private List<Emission> receivedEmissions = new ArrayList<Emission>();
private boolean accumlateEmissions = false;
private float temperature = 0;
private static float ... | core/src/com/mygdx/game/AbstractBodyData.java | package com.mygdx.game;
import java.util.ArrayList;
import java.util.List;
public abstract class AbstractBodyData implements BodyData {
private List<Emission> receivedEmissions = new ArrayList<Emission>();
private boolean accumlateEmissions = false;
private float temperature = 0;
private static float ... | Cleanup if
| core/src/com/mygdx/game/AbstractBodyData.java | Cleanup if | <ide><path>ore/src/com/mygdx/game/AbstractBodyData.java
<ide>
<ide> @Override
<ide> public void receiveEmission(Emission emission) {
<del> // TODO: Take duration into account, push into emission?
<del> if (!accumlateEmissions)
<add> // TODO: Take duration into account?, push into emission?... | |
Java | apache-2.0 | error: pathspec 'foo-collection/src/main/java/com/github/foo/Trees.java' did not match any file(s) known to git
| cb38fd222b4d1124a20f64710df34831885fb6ba | 1 | gauravrmazra/ds-algorithms | /**
*
*/
package com.github.foo;
/**
* Class consists static methods that operates on
* Tree.
* <p>The methods of this class all throw a <tt>NullPointerException</tt>
* if the collections or class objects provided to them are null.</p>
*
* @author Sachin
* @author Gaurav Rai Mazra
*/
public... | foo-collection/src/main/java/com/github/foo/Trees.java | Trees class consisting static methods to operate of Tree | foo-collection/src/main/java/com/github/foo/Trees.java | Trees class consisting static methods to operate of Tree | <ide><path>oo-collection/src/main/java/com/github/foo/Trees.java
<add>/**
<add> *
<add> */
<add>package com.github.foo;
<add>
<add>/**
<add> * Class consists static methods that operates on
<add> * Tree.
<add> * <p>The methods of this class all throw a <tt>NullPointerException</tt>
<add> * if the collections or clas... | |
Java | apache-2.0 | 0272c8ba4d23e638c076521b805e0ff3586d1308 | 0 | sidorovis/stsc.fundamental.analysis | package stsc.fundamental.analysis;
import java.io.IOException;
import java.nio.file.Path;
import java.text.ParseException;
import java.util.Collection;
import java.util.Collections;
import java.util.Map;
import java.util.Map.Entry;
import java.util.TreeMap;
import stsc.algorithms.fundamental.analysis.statistics.eod.L... | src/main/java/stsc/fundamental/analysis/CorrelationCalculator.java | package stsc.fundamental.analysis;
import java.io.IOException;
import java.nio.file.Path;
import java.text.ParseException;
import java.util.Collection;
import java.util.Collections;
import java.util.Map;
import java.util.Map.Entry;
import java.util.TreeMap;
import stsc.algorithms.fundamental.analysis.statistics.eod.L... | added int id for CorrelationCalculator | src/main/java/stsc/fundamental/analysis/CorrelationCalculator.java | added int id for CorrelationCalculator | <ide><path>rc/main/java/stsc/fundamental/analysis/CorrelationCalculator.java
<ide>
<ide> private final MetaIndicesRepository metaIndicesRepository;
<ide> private final StockStorage stockStorage;
<del> private long id = 0;
<add> private int id = 0;
<ide>
<ide> public CorrelationCalculator(final CorrelationCalculato... | |
Java | apache-2.0 | 8ed4159160d1a297d0fb20beb98dc4798351bdd7 | 0 | ieb/sling,roele/sling,awadheshv/sling,nleite/sling,tteofili/sling,ieb/sling,tmaret/sling,tyge68/sling,ist-dresden/sling,tyge68/sling,ist-dresden/sling,ffromm/sling,mmanski/sling,JEBailey/sling,awadheshv/sling,mcdan/sling,ist-dresden/sling,cleliameneghin/sling,mmanski/sling,ieb/sling,mcdan/sling,tyge68/sling,mmanski/sli... | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The SF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may... | contrib/extensions/healthcheck/jmx/src/main/java/org/apache/sling/hc/jmx/impl/HealthCheckMBean.java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The SF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may... | Add persistence id as mbean attribute
git-svn-id: 6eed74fe9a15c8da84b9a8d7f2960c0406113ece@1519581 13f79535-47bb-0310-9956-ffa450edef68
| contrib/extensions/healthcheck/jmx/src/main/java/org/apache/sling/hc/jmx/impl/HealthCheckMBean.java | Add persistence id as mbean attribute | <ide><path>ontrib/extensions/healthcheck/jmx/src/main/java/org/apache/sling/hc/jmx/impl/HealthCheckMBean.java
<ide> if ( serviceReference.getProperty(HealthCheck.TAGS) != null ) {
<ide> attrs.add(new MBeanAttributeInfo(HealthCheck.TAGS, String.class.getName(), "The tags of the health check service."... | |
Java | mit | df8ae3db2b93dc34fd03e577e272f18d687ecc42 | 0 | CreaRo/dawebmail | package com.sigmobile.dawebmail.network;
import android.content.Context;
import android.util.Base64;
import com.sigmobile.dawebmail.R;
import com.sigmobile.dawebmail.database.EmailMessage;
import com.sigmobile.dawebmail.database.User;
import com.sigmobile.dawebmail.utils.BasePath;
import com.sigmobile.dawebmail.utils... | app/src/main/java/com/sigmobile/dawebmail/network/RestAPI.java | package com.sigmobile.dawebmail.network;
import android.content.Context;
import android.util.Base64;
import android.util.Log;
import com.sigmobile.dawebmail.R;
import com.sigmobile.dawebmail.database.EmailMessage;
import com.sigmobile.dawebmail.database.User;
import com.sigmobile.dawebmail.utils.BasePath;
import com.... | Lazy loading works 100%
| app/src/main/java/com/sigmobile/dawebmail/network/RestAPI.java | Lazy loading works 100% | <ide><path>pp/src/main/java/com/sigmobile/dawebmail/network/RestAPI.java
<ide>
<ide> import android.content.Context;
<ide> import android.util.Base64;
<del>import android.util.Log;
<ide>
<ide> import com.sigmobile.dawebmail.R;
<ide> import com.sigmobile.dawebmail.database.EmailMessage;
<ide> conn.setReadT... | |
Java | apache-2.0 | bb7fca99d71e95249cecfe1929d7fd9c0638194c | 0 | gurbuzali/hazelcast-jet,gurbuzali/hazelcast-jet | /*
* Copyright (c) 2008-2017, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | hazelcast-jet-core/src/test/java/com/hazelcast/jet/impl/connector/HazelcastConnectorTest.java | /*
* Copyright (c) 2008-2017, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | Attempt to fix test failure (#738)
Fixes #735
| hazelcast-jet-core/src/test/java/com/hazelcast/jet/impl/connector/HazelcastConnectorTest.java | Attempt to fix test failure (#738) | <ide><path>azelcast-jet-core/src/test/java/com/hazelcast/jet/impl/connector/HazelcastConnectorTest.java
<ide> IMapJet<Integer, Entry<Integer, String>> sourceMap = jetInstance.getMap(streamSourceName);
<ide> range(0, ENTRY_COUNT).forEach(i -> sourceMap.put(i, entry(i, i % 2 == 0 ? null : String.valueOf(i... | |
Java | apache-2.0 | 2e1e0b3ea57af56fccbc1d7fc275b693337c1e41 | 0 | Distrotech/intellij-community,muntasirsyed/intellij-community,xfournet/intellij-community,MER-GROUP/intellij-community,ibinti/intellij-community,vvv1559/intellij-community,blademainer/intellij-community,tmpgit/intellij-community,akosyakov/intellij-community,muntasirsyed/intellij-community,lucafavatella/intellij-communi... | package com.intellij.psi.impl.source.resolve;
import com.intellij.pom.java.LanguageLevel;
import com.intellij.psi.*;
import com.intellij.psi.filters.ClassFilter;
import com.intellij.psi.infos.CandidateInfo;
import com.intellij.psi.scope.ElementClassHint;
import com.intellij.psi.scope.NameHint;
import com.intellij.psi.... | source/com/intellij/psi/impl/source/resolve/VariableResolverProcessor.java | package com.intellij.psi.impl.source.resolve;
import com.intellij.pom.java.LanguageLevel;
import com.intellij.psi.*;
import com.intellij.psi.filters.ClassFilter;
import com.intellij.psi.infos.CandidateInfo;
import com.intellij.psi.scope.ElementClassHint;
import com.intellij.psi.scope.NameHint;
import com.intellij.psi.... | resolve fix
| source/com/intellij/psi/impl/source/resolve/VariableResolverProcessor.java | resolve fix | <ide><path>ource/com/intellij/psi/impl/source/resolve/VariableResolverProcessor.java
<ide> }
<ide>
<ide> public boolean execute(PsiElement element, PsiSubstitutor substitutor) {
<del> if (!(element instanceof PsiField) && (myName == null || PsiUtil.checkName(element, myName))) {
<add> if (!(element instanceo... | |
Java | apache-2.0 | 1e5caeb87699d51c7702e733d56c4cee2408f273 | 0 | mengmoya/onos,osinstom/onos,opennetworkinglab/onos,maheshraju-Huawei/actn,mengmoya/onos,VinodKumarS-Huawei/ietf96yang,opennetworkinglab/onos,sonu283304/onos,sdnwiselab/onos,osinstom/onos,kuujo/onos,kuujo/onos,oplinkoms/onos,sonu283304/onos,lsinfo3/onos,oplinkoms/onos,Shashikanth-Huawei/bmp,Shashikanth-Huawei/bmp,sdnwis... | /*
* Copyright 2014-2015 Open Networking Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | apps/cordvtn/src/main/java/org/onosproject/cordvtn/CordVtn.java | /*
* Copyright 2014-2015 Open Networking Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | Don't proxy ARP with the private gateway MAC address for public network.
Change-Id: Ice16a39cc9fe349e22f61131d24f898744a765db
| apps/cordvtn/src/main/java/org/onosproject/cordvtn/CordVtn.java | Don't proxy ARP with the private gateway MAC address for public network. | <ide><path>pps/cordvtn/src/main/java/org/onosproject/cordvtn/CordVtn.java
<ide> return;
<ide> }
<ide>
<del> if (service.serviceType().equals(CordService.ServiceType.MANAGEMENT)) {
<del> ruleInstaller.populateManagementNetworkRules(host, service);
<del> } else {
<del> ... | |
Java | apache-2.0 | a896e0539ce36225676e279b4907ac899e62afa4 | 0 | ricepanda/rice-git3,ricepanda/rice-git2,ricepanda/rice-git2,kuali/rice-playground,ricepanda/rice-git2,ricepanda/rice-git3,kuali/rice-playground,kuali/rice-playground,ricepanda/rice-git3,kuali/rice-playground,ricepanda/rice-git3,ricepanda/rice-git2 | /**
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl2.php
*
* Unless requ... | rice-framework/krad-web-framework/src/main/java/org/kuali/rice/krad/web/form/UifFormBase.java | /**
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl2.php
*
* Unless requ... | KULRICE-12672 AFT Failure LabsLookupWithUserControlAft myPrincipalName not present in the managed type
git-svn-id: 2a5d2b5a02908a0c4ba7967b726d8c4198d1b9ed@46547 7a7aa7f6-c479-11dc-97e2-85a2497f191d
| rice-framework/krad-web-framework/src/main/java/org/kuali/rice/krad/web/form/UifFormBase.java | KULRICE-12672 AFT Failure LabsLookupWithUserControlAft myPrincipalName not present in the managed type | <ide><path>ice-framework/krad-web-framework/src/main/java/org/kuali/rice/krad/web/form/UifFormBase.java
<ide> String clientStateJSON = request.getParameter(UifParameters.CLIENT_VIEW_STATE);
<ide> if (StringUtils.isNotBlank(clientStateJSON)) {
<ide> // change single quotes to doub... | |
Java | apache-2.0 | 65fdcf6181d13b33e7452b49315f0a5a1f1a967c | 0 | gerashegalov/Impala,theyaa/Impala,tempbottle/Impala,XiaominZhang/Impala,ImpalaToGo/ImpalaToGo,theyaa/Impala,scalingdata/Impala,bowlofstew/Impala,gerashegalov/Impala,ImpalaToGo/ImpalaToGo,theyaa/Impala,gerashegalov/Impala,XiaominZhang/Impala,cloudera/recordservice,cchanning/Impala,cgvarela/Impala,gerashegalov/Impala,cch... | // Copyright (c) 2012 Cloudera, Inc. All rights reserved.
package com.cloudera.impala.datagenerator;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.NavigableMap;
import org.apache.commons... | testdata/src/main/java/com/cloudera/impala/datagenerator/HBaseTestDataRegionAssigment.java | // Copyright (c) 2012 Cloudera, Inc. All rights reserved.
package com.cloudera.impala.datagenerator;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.NavigableMap;
import org.apache.commons... | Fix HBase region splitting for tests.
It appears that HBase sometimes ignores an admin.splitRegion() RPC,
which made our region splitting fail. As a workaround, this patch adds
another retry loop such that the split/wait sequence is attempted
multiple times.
Change-Id: I9aa8ab87bba79ea11b79c50f15328b8be844924d
Review... | testdata/src/main/java/com/cloudera/impala/datagenerator/HBaseTestDataRegionAssigment.java | Fix HBase region splitting for tests. | <ide><path>estdata/src/main/java/com/cloudera/impala/datagenerator/HBaseTestDataRegionAssigment.java
<ide> private final List<ServerName> sortedRS; // sorted list of region server name
<ide> private final String[] splitPoints = { "1", "3", "5", "7", "9"};
<ide>
<add> // Number of times to retry a series region-sp... | |
Java | apache-2.0 | d9023abfd03f98d7bc10deb706bf0be92417a1ad | 0 | nknize/elasticsearch,uschindler/elasticsearch,uschindler/elasticsearch,GlenRSmith/elasticsearch,gingerwizard/elasticsearch,strapdata/elassandra,robin13/elasticsearch,GlenRSmith/elasticsearch,uschindler/elasticsearch,coding0011/elasticsearch,coding0011/elasticsearch,nknize/elasticsearch,coding0011/elasticsearch,scorpion... | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.test;
import org.elasticsearch.ElasticsearchExcepti... | src/test/java/org/elasticsearch/test/ShieldSettingsSource.java | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.test;
import org.elasticsearch.ElasticsearchExcepti... | Testing: Remove randomization on osx
The randomization of the `network.host` property on OSX only
could lead to connecting to the wrong HTTP port in our functional
tests.
As this randomization is not really needed, we can simply remove it
Closes elastic/elasticsearch#586
Original commit: elastic/x-pack-elasticsearc... | src/test/java/org/elasticsearch/test/ShieldSettingsSource.java | Testing: Remove randomization on osx | <ide><path>rc/test/java/org/elasticsearch/test/ShieldSettingsSource.java
<ide>
<ide> import org.elasticsearch.ElasticsearchException;
<ide> import org.elasticsearch.client.support.Headers;
<del>import org.elasticsearch.common.io.FileSystemUtils;
<del>import org.elasticsearch.common.os.OsUtils;
<ide> import org.elastic... | |
Java | apache-2.0 | f992300d8449f96a7274ba3e1152632ada0e7dc5 | 0 | jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim | /*
* JaamSim Discrete Event Simulation
* Copyright (C) 2002-2011 Ausenco Engineering Canada Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (a... | src/main/java/com/jaamsim/basicsim/Simulation.java | /*
* JaamSim Discrete Event Simulation
* Copyright (C) 2002-2011 Ausenco Engineering Canada Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (a... | JS: allow the GlobalSubstreamSeed keyword to accept an expression
Signed-off-by: Harry King <4297d713059dfdc9fd310cd85bf547ea21a2d624@ausenco.com>
Signed-off-by: Stephen Wong <6f34db11dd2258ec4ffa799eb0d7827f906cb1c6@ausenco.com>
| src/main/java/com/jaamsim/basicsim/Simulation.java | JS: allow the GlobalSubstreamSeed keyword to accept an expression | <ide><path>rc/main/java/com/jaamsim/basicsim/Simulation.java
<ide>
<ide> import javax.swing.JFrame;
<ide>
<add>import com.jaamsim.Samples.SampleConstant;
<ide> import com.jaamsim.Samples.SampleExpInput;
<ide> import com.jaamsim.events.Conditional;
<ide> import com.jaamsim.events.EventManager;
<ide> example ... | |
Java | mit | fa906f7335d99ae5f4d361ab425fadd56f677e65 | 0 | Bien-CV/eCoastSimulator.png | // TODO :
// notifyNouvelleEnchere
// notifyNouvelleVente
package client;
import java.rmi.Naming;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.util.UUID;
import java.util.HashMap;
import java.util.List;
import commun.ClientInfo;
import commun.DejaConnecteException;
import ... | src/client/Client.java | // TODO :
// notifyNouvelleEnchere
// notifyNouvelleVente
package client;
import java.rmi.Naming;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.util.UUID;
import java.util.HashMap;
import java.util.List;
import commun.ClientInfo;
import commun.DejaConnecteException;
import ... | bliblu
| src/client/Client.java | bliblu | <ide><path>rc/client/Client.java
<ide> public UUID getIdSalleObservee() {
<ide> return this.idSalleObservee;
<ide> }
<add>
<ide> } | |
JavaScript | mit | 23dba67a78a3615b8624772941d13f8c6c3f219c | 0 | alikhil/sttp,alikhil/sttp | var compresser = require("../src/compress.js");
var aesCrypter = require("../src/aes.js");
var hasher = require("../src/hash.js");
var util = require("../src/util.js");
var base64 = require("../src/Base64.js").Base64();
var DataPacker = function(aesKey) {
this.aesKey = aesKey;
this.pack = function(data) {
if ... | src/packer.js | var compresser = require("../src/compress.js");
var aesCrypter = require("../src/aes.js");
var hasher = require("../src/hash.js");
var util = require("../src/util.js");
var base64 = require("../src/Base64.js").Base64();
var DataPacker = function(aesKey) {
this.aesKey = aesKey;
this.pack = function(data) {
if ... | Updates packer.js.
* Adds implentation of unpack() function of DataPacker.
* Adds log printing lines.
| src/packer.js | Updates packer.js. | <ide><path>rc/packer.js
<ide> if (typeof data !== "string")
<ide> data = JSON.stringify(data);
<ide> var compressed = compresser.compress(data);
<add> console.log("compressed"+compressed);
<ide> var crypted = aesCrypter.encryptAES(compressed, aesKey);
<add> console.log("crypted"+crypted);
<ide> var packet ... | |
Java | apache-2.0 | 085bb615e4410078b6699c3a932b6ce90fadb5d8 | 0 | vatbub/hangman-solver,vatbub/hangman-solver | package view;
import java.io.UnsupportedEncodingException;
import java.net.URL;
import java.net.URLDecoder;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.ResourceBundle;
import java.util.logging.Level;
import algorithm.*;
import common.Common;
import common.... | src/main/java/view/MainWindow.java | package view;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.ResourceBundle;
import java.util.logging.Level;
import algorithm.*;
import common.Common;
import common.Config;
import common.UpdateChecker;
import common.UpdateInfo;
import co... | Added debug output for deleting old app versions [#1] | src/main/java/view/MainWindow.java | Added debug output for deleting old app versions [#1] | <ide><path>rc/main/java/view/MainWindow.java
<ide> package view;
<ide>
<add>import java.io.UnsupportedEncodingException;
<ide> import java.net.URL;
<add>import java.net.URLDecoder;
<ide> import java.util.ArrayList;
<ide> import java.util.Arrays;
<ide> import java.util.List;
<ide> private static FOKLogger log;
<ide>
... | |
Java | apache-2.0 | 6b35ddf687e538f54e67f10c092aa0111c849107 | 0 | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ui.popup.list;
import com.intellij.icons.AllIcons;
import com.intellij.openapi.actionSystem.Shortcut;
import com.intellij.openapi.actionSystem.ShortcutProvid... | platform/platform-impl/src/com/intellij/ui/popup/list/PopupListElementRenderer.java | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ui.popup.list;
import com.intellij.icons.AllIcons;
import com.intellij.openapi.actionSystem.Shortcut;
import com.intellij.openapi.actionSystem.ShortcutProvid... | EA-237410 (plugin) - IAE: UIUtil.$$$reportNull$$$
GitOrigin-RevId: 3375404b6d76665f32e1192e4af0b9375262e035 | platform/platform-impl/src/com/intellij/ui/popup/list/PopupListElementRenderer.java | EA-237410 (plugin) - IAE: UIUtil.$$$reportNull$$$ | <ide><path>latform/platform-impl/src/com/intellij/ui/popup/list/PopupListElementRenderer.java
<ide> public class PopupListElementRenderer<E> extends GroupedItemsListRenderer<E> {
<ide> protected final ListPopupImpl myPopup;
<ide> private JLabel myShortcutLabel;
<del> private JLabel myValueLabel;
<add> private @Nu... | |
JavaScript | mit | 35b3372bad7fb3085c42ea311f72e18ec0c86714 | 0 | Putaitu/hashbrown-cms,Putaitu/hashbrown-cms,Putaitu/hashbrown-cms | 'use strict';
const Yaml = require('./lib/yamljs/Yaml');
class JekyllProcessor extends HashBrown.Models.Processor {
// Getters
static get name() { return 'Jekyll'; }
static get alias() { return 'jekyll'; }
/**
* Compiles content for Jekyll
*
* @param {Content} content
* @param... | plugins/jekyll/server/Processor.js | 'use strict';
const Yaml = require('./lib/yamljs/Yaml');
class JekyllProcessor extends HashBrown.Models.Processor {
// Getters
static get name() { return 'Jekyll'; }
static get alias() { return 'jekyll'; }
/**
* Compiles content for Jekyll
*
* @param {Content} content
* @param... | Fixed typo in Jekyll plugin
| plugins/jekyll/server/Processor.js | Fixed typo in Jekyll plugin | <ide><path>lugins/jekyll/server/Processor.js
<ide>
<ide> // Date and author go in as main properties in Jekyll, not as meta
<ide> properties.date = dateString;
<del> properties.author = updatedBy.fullName || upadtedBy.username || createdBy.fullName || createdBy.username;
<add> ... | |
JavaScript | agpl-3.0 | 9a8f5935b808191637fef3199728794f7d1d2d27 | 0 | superdesk/Live-Blog,superdesk/Live-Blog,superdesk/Live-Blog,vladnicoara/SDLive-Blog,vladnicoara/SDLive-Blog,superdesk/Live-Blog,vladnicoara/SDLive-Blog | define([
'providers',
'jquery',
'gizmo/superdesk',
config.guiJs('livedesk', 'action'),
'jquery/tmpl',
'jqueryui/draggable',
'providers/comments/adaptor',
config.guiJs('livedesk', 'providers-templates'),
'tmpl!livedesk>providers/comments',
'tmpl!livedesk>items/item',
'tmpl!livedesk>... | plugins/livedesk/gui-resources/scripts/js/providers/comments.js | define([
'providers',
'jquery',
'gizmo/superdesk',
config.guiJs('livedesk', 'action'),
'jquery/tmpl',
'jqueryui/draggable',
'providers/comments/adaptor',
config.guiJs('livedesk', 'providers-templates'),
'tmpl!livedesk>providers/comments',
'tmpl!livedesk>items/item',
'tmpl!livedesk>... | LB-1160: As an editor I want to hide comments
Minor fix
| plugins/livedesk/gui-resources/scripts/js/providers/comments.js | LB-1160: As an editor I want to hide comments | <ide><path>lugins/livedesk/gui-resources/scripts/js/providers/comments.js
<ide> blogId: 0,
<ide> data: [],
<ide> topIds: 0,
<del> minId: 999999999999,
<add> minId: Infinity,
<ide> interval: 20000,
<ide> keyword: '',
<ide> extraInfos: 0, | |
Java | apache-2.0 | 3da5c3a9b3128c22191d7ea3034a772feb244121 | 0 | APriestman/autopsy,esaunders/autopsy,rcordovano/autopsy,esaunders/autopsy,wschaeferB/autopsy,narfindustries/autopsy,esaunders/autopsy,APriestman/autopsy,dgrove727/autopsy,wschaeferB/autopsy,narfindustries/autopsy,dgrove727/autopsy,millmanorama/autopsy,esaunders/autopsy,millmanorama/autopsy,rcordovano/autopsy,rcordovano... | /*
* Autopsy Forensic Browser
*
* Copyright 2012-16 Basis Technology Corp.
*
* Copyright 2012 42six Solutions.
* Contact: aebadirad <at> 42six <dot> com
* Project Contact/Architect: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this f... | Core/src/org/sleuthkit/autopsy/coreutils/ImageUtils.java | /*
* Autopsy Forensic Browser
*
* Copyright 2012-16 Basis Technology Corp.
*
* Copyright 2012 42six Solutions.
* Contact: aebadirad <at> 42six <dot> com
* Project Contact/Architect: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this f... | Use seek() instead of new constructor
| Core/src/org/sleuthkit/autopsy/coreutils/ImageUtils.java | Use seek() instead of new constructor | <ide><path>ore/src/org/sleuthkit/autopsy/coreutils/ImageUtils.java
<ide> return image;
<ide> }
<ide> } else if (file.getNameExtension().equalsIgnoreCase("tec")) { //NON-NLS
<del> int offset = 0;
<add> ReadContentInputStream readContentInputSt... | |
Java | apache-2.0 | 69187d2127b67016ef128f372aa30f4375911768 | 0 | YouCruit/onfido-api | package com.youcruit.onfido.api;
import static java.util.Arrays.asList;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import org.apache.log4j.Logger;
import org.junit.Before;
import org.junit.Test;
import com.youcruit.onfido.api.http.FakeHttpClient;
import com.youcrui... | onfido-test/src/test/java/com/youcruit/onfido/api/WebhookTest.java | package com.youcruit.onfido.api;
import static java.util.Arrays.asList;
import java.io.IOException;
import java.net.URI;
import org.apache.log4j.Logger;
import org.junit.Before;
import org.junit.Test;
import com.youcruit.onfido.api.http.FakeHttpClient;
import com.youcruit.onfido.api.http.OnfidoHttpClient;
import co... | Add testcase for webhook callbacks
| onfido-test/src/test/java/com/youcruit/onfido/api/WebhookTest.java | Add testcase for webhook callbacks | <ide><path>nfido-test/src/test/java/com/youcruit/onfido/api/WebhookTest.java
<ide> import static java.util.Arrays.asList;
<ide>
<ide> import java.io.IOException;
<add>import java.io.UnsupportedEncodingException;
<ide> import java.net.URI;
<ide>
<ide> import org.apache.log4j.Logger;
<ide> import com.youcruit.onfido.ap... | |
Java | mit | 67fa3f95693682fb4cfbf500f80d18a9df064d51 | 0 | SamuelKlein/xpresso,WantedTechnologies/xpresso | src/test/java/Cleanup.java | import com.wantedtech.common.xpresso.x;
import com.wantedtech.common.xpresso.functional.Function;
import com.wantedtech.common.xpresso.regex.Match;
import com.wantedtech.common.xpresso.regex.Regex;
import com.wantedtech.common.xpresso.types.HappyFile;
import com.wantedtech.common.xpresso.types.dict;
import com.wantedte... | Delete Cleanup.java | src/test/java/Cleanup.java | Delete Cleanup.java | <ide><path>rc/test/java/Cleanup.java
<del>import com.wantedtech.common.xpresso.x;
<del>import com.wantedtech.common.xpresso.functional.Function;
<del>import com.wantedtech.common.xpresso.regex.Match;
<del>import com.wantedtech.common.xpresso.regex.Regex;
<del>import com.wantedtech.common.xpresso.types.HappyFile;
<del>i... | ||
JavaScript | mit | f97b7d35527cdb30bfb96f76f18ee09d8ff05167 | 0 | dabapps/betta,dabapps/betta,dabapps/betta | 'use strict';
var React = require('react');
var ModalStore = require('../stores/modal-store');
var ExportModal = require('./modal/export-modal');
var ImportModal = require('./modal/import-modal');
var SearchStore = require('../stores/search-store');
var VariableStore = require('../stores/variable-store');
var Sidebar... | static/js/components/sidebar-menu.js | 'use strict';
var React = require('react');
var ModalStore = require('../stores/modal-store');
var ExportModal = require('./modal/export-modal');
var ImportModal = require('./modal/import-modal');
var SearchStore = require('../stores/search-store');
var VariableStore = require('../stores/variable-store');
var Sidebar... | Fix tests
| static/js/components/sidebar-menu.js | Fix tests | <ide><path>tatic/js/components/sidebar-menu.js
<ide> <div
<ide> className={'dropdown pull-left' + (self.state.dropdownSizesActive ? ' open' : '')}
<ide> onClick={self.toggleDropdownSizes}>
<del> <button className='btn btn-small btn-default'>{self.props.currentFrameSize.name}... | |
JavaScript | mit | error: pathspec 'test/test_chain.js' did not match any file(s) known to git
| f8358e05502a06e53b971d9892549116a7a71ce3 | 1 | pipesjs/core | import assert from "assert";
import chain from "../src/chain";
import connect from "../src/connect";
import pipe from "../src/pipe";
import {
createTestWritable,
createTestReadable,
broker
} from "./utils";
suite("chain");
test("check chaining", done => {
let readable, writable, transform, testChain;
// Cr... | test/test_chain.js | Added test for chain
Signed-off-by: Diwank Singh <a78369447041e6bcf2913d083e4ed301785fc609@gmail.com>
| test/test_chain.js | Added test for chain | <ide><path>est/test_chain.js
<add>import assert from "assert";
<add>import chain from "../src/chain";
<add>import connect from "../src/connect";
<add>import pipe from "../src/pipe";
<add>import {
<add> createTestWritable,
<add> createTestReadable,
<add> broker
<add>} from "./utils";
<add>
<add>suite("chain");
<add>
... | |
Java | agpl-3.0 | f3e35fe5ba2229afa4005d4e697ae17c4d740a30 | 0 | CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceeng... | /*
Derby - Class org.apache.derby.impl.sql.compile.AlterTableNode
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to yo... | java/engine/com/splicemachine/db/impl/sql/compile/AlterTableNode.java | /*
Derby - Class org.apache.derby.impl.sql.compile.AlterTableNode
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to yo... | DB-1755: add constraint. Clean up multi-method calling.
| java/engine/com/splicemachine/db/impl/sql/compile/AlterTableNode.java | DB-1755: add constraint. Clean up multi-method calling. | <ide><path>ava/engine/com/splicemachine/db/impl/sql/compile/AlterTableNode.java
<ide>
<ide> public TableDescriptor baseTable;
<ide>
<del> protected int numConstraints;
<del>
<ide> private int changeType = UNKNOWN_TYPE;
<ide>
<ide> private boolean truncateTable = false;
<ide> // constant act... | |
Java | apache-2.0 | 7aa4a0ec6c4650bb7681466feebb1cc3121fbfee | 0 | smartnews/presto,smartnews/presto,smartnews/presto,smartnews/presto,smartnews/presto | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/BaseIcebergConnectorTest.java | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Rename test table name
`test_bucket_transform` was a copy-paste leftover.
This also adds a missing DROP TABLE.
| plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/BaseIcebergConnectorTest.java | Rename test table name | <ide><path>lugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/BaseIcebergConnectorTest.java
<ide> @Test
<ide> public void testApplyFilterWithNonEmptyConstraintPredicate()
<ide> {
<del> assertUpdate("CREATE TABLE test_bucket_transform (d VARCHAR, b BIGINT) WITH (partitioning = ARRAY['bucket(d, ... | |
Java | apache-2.0 | 3a1a95ff3c394af7dc4afd2f6709024ab9b23f41 | 0 | Hipparchus-Math/hipparchus,apache/commons-math,apache/commons-math,Hipparchus-Math/hipparchus,Hipparchus-Math/hipparchus,apache/commons-math,Hipparchus-Math/hipparchus,sdinot/hipparchus,sdinot/hipparchus,sdinot/hipparchus,apache/commons-math,sdinot/hipparchus | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | src/test/java/org/apache/commons/math/linear/FieldLUSolverTest.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Fix generics
git-svn-id: 80d496c472b8b763a5e941dba212da9bf48aeceb@1197488 13f79535-47bb-0310-9956-ffa450edef68
| src/test/java/org/apache/commons/math/linear/FieldLUSolverTest.java | Fix generics | <ide><path>rc/test/java/org/apache/commons/math/linear/FieldLUSolverTest.java
<ide> /** test solve singularity errors */
<ide> @Test
<ide> public void testSolveSingularityErrors() {
<del> FieldDecompositionSolver solver;
<del> solver = new FieldLUDecomposition(createFractionMatrix(singular))
<... | |
Java | apache-2.0 | 2062c304985fc7aa62d5a14f6ebdff7fd4b78d32 | 0 | jzachr/goldenorb,jzachr/goldenorb,jzachr/goldenorb | /**
* Licensed to Ravel, Inc. under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Ravel, Inc. licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this fil... | src/main/java/org/goldenorb/OrbPartition.java | /**
* Licensed to Ravel, Inc. under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Ravel, Inc. licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this fil... | no message
| src/main/java/org/goldenorb/OrbPartition.java | no message | <ide><path>rc/main/java/org/goldenorb/OrbPartition.java
<ide> computing = false;
<ide> LOG.info("Partition: (" + Integer.toString(getPartitionID()) + ") Done computing!!!!!!");
<ide> dumpData();
<add> enterBarrier("doneDumpingDataBarrier");
<ide> try {
<ide> ZookeeperUtils.tryToCreateNode(zk, j... | |
Java | mit | eb6877d034fb1d3ac57457b73733b90778d9ca85 | 0 | AbeSkray/poker-calculator | package com.skraylabs.poker;
import com.skraylabs.poker.model.Board;
import com.skraylabs.poker.model.Card;
import com.skraylabs.poker.model.CardUtils;
import com.skraylabs.poker.model.GameState;
import com.skraylabs.poker.model.Pocket;
import com.skraylabs.poker.model.Rank;
import java.awt.Point;
import java.util.Ar... | src/main/java/com/skraylabs/poker/ProbabilityCalculator.java | package com.skraylabs.poker;
import com.skraylabs.poker.model.Board;
import com.skraylabs.poker.model.Card;
import com.skraylabs.poker.model.CardUtils;
import com.skraylabs.poker.model.GameState;
import com.skraylabs.poker.model.Pocket;
import com.skraylabs.poker.model.Rank;
import java.awt.Point;
import java.util.Ar... | Factored out common code for “n” of a Kind methods.
| src/main/java/com/skraylabs/poker/ProbabilityCalculator.java | Factored out common code for “n” of a Kind methods. | <ide><path>rc/main/java/com/skraylabs/poker/ProbabilityCalculator.java
<ide> }
<ide>
<ide> /**
<del> * Helper method that determines if a Two of a Kind exists on a given combination of board and
<del> * pocket cards.
<del> *
<del> * @param cards combined cards from a player's Pocket and the community Board... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.